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
launch-fleet code error (not cracking as expected) #1
Comments
Heya, thanks for raising this. In every episode folder, make sure that you update all the scripts that are there. All the episode folders contain all the files that I've changed when making the video. There's a few places that I think I forgot to cover in my videos (one of them is forgetting to mention changes in the utils file). I have a theory that your launch fleets script isn't nuking the server properly because it may be missing the Some tips for debugging (because I had to do this myself when creating the launch fleets script)
Expect some side effects / quirks after using the launch-fleets script:
Let me know if this helps :) |
seems the canHack function was reworked from checking the reqPorts & ramAvail to pHack & sHack that is the only thing I can find that is different but I am re watching the video you made about it to try and understand what the old Auto-deploy did with this function vs what the deployfleet is doing with the function. Thank you for showing me where to look that helped a lot in identifying a function that changed |
Ah yes. The "canHack" in auto-deploy (in the first video) and the "canHack" in launch-fleets (in the later video) aren't the same (confusing, I know). In auto-deploy, I believe the "canHack" function returns true if we are able to gain root access and support the ram requirements of the virus script. This function determines whether we can "control" the server. I think it was renamed to "canPenetrate" when I was refactoring things for launch fleets. The new "canHack" function when launch-fleets was created is checking the hacking requirements for a server. I think this is used when retrieving targets from the top of my head. This level (sHack) is the level that the server requires before you can run "hack" or "backdoor" commands on it. If you run "hack" on servers when you haven't met their required hacking level, the command will throw an error. In auto-deploy, if you target a server that has requires a higher level of hacking skills, I think the script throws an error. The reason why we check this in launch-fleets is because our targets are now dynamic (decided by the script). We want to make sure that it doesn't chuck errors to us when it's doing its thing automatically. Hope this helps :) |
I'm having a little issue with the launch fleet script
it seems to find servers and upload the virus correctly but for some reason it never runs the cracks on the server and nukes it for root access
my work around at the moment is to simply go crack the server my self but I will be looking into the launch fleet script vs the auto-deploy script to try and figure out why it's not executing that section of the script
The text was updated successfully, but these errors were encountered: