Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import error on auto-deploy #32

Open
dutins12 opened this issue Mar 2, 2023 · 3 comments
Open

Import error on auto-deploy #32

dutins12 opened this issue Mar 2, 2023 · 3 comments

Comments

@dutins12
Copy link

dutins12 commented Mar 2, 2023

"Failed to resolve module specifier "./utils.js". Invalid relative url or base scheme isn't hierarchical."

This is from copypasting the current script, i'm a total beginner in coding so i don't know how this problem is solved

@virtuallyaverage
Copy link

I am getting this too

@virtuallyaverage
Copy link

Figured it out, so need to make sure that you have created the utils.js file on the server you are trying to run it on. You can find it in the folder here. Then make sure that the top lines in your auto-deploy.js script are import { getNetworkNodes, canPenetrate, hasRam, getRootAccess, } from "/utils.js";

@rfsjim
Copy link

rfsjim commented Jul 8, 2023

Can you confirm where you are trying to run this script?

  • It should only be run from the home server.
  • The other servers will get the virus script automatically copied to them

auto-deploy.js takes one argument that is required - the name of the target server to hack for example
ensure that you are running this on the home server by typing home first
run auto-deploy.js n00dles

This will then locate machines to run the script on, deploy hacks to those machines (if required), and copy and run the virus.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants