With very little thought you could make the scripts run against a different target too, hope you find this mess even slightly helpful, and have a good day. If (fileExists("BruteSSH.exe")) count++ //Helps us cycle through our list Threads are based on the amount of RAM the server has, rounded downĭo note that with lots of “approved servers” this will not be optimal, at all, this is just a lazy way to do things at the start. ![]() Checks if you have hacks so we know for later Var linked var target var depth = 0 var checked = 0 var hackType ![]() Var count = 0 var inner = 0 var approvedList = var exeCount = 0 Var hk = var possibleThreads = 0 var scanLevel = 2 Var serverList = scan("home") var serverCount = Sets variables, I wouldn't touch them, might explode Contents: weaken(args) grow(args) hack(args) These are as small as possible to allow for many threads Var files = // The files you need to make in your home directory which will be sent with scp I want to use the first array as the 'target' variable in the second function. My problem is I can't seem to figure out how to pass my first array (spider() in the code) to my second function (probe()). This whole thing will scan for all servers you can hack, then start automatically farming them, but it's not the fastest I'm working on building a script to scan/distribute/hack all servers all at once. Welcome to my messy, horribly optimised, quickly slapped together script for beginners, by a beginner, good luck with this brain aneurysm which I tried to document Stuff above is just for visual clarity in the console, couldn't get disable ALL to work :P How to Auto Hack Script (Auto-Farm) Basic auto hack script that finds and automates the farming of servers. disableLog("disableLog") disableLog("brutessh") disableLog("ftpcrack") disableLog("relaysmtp") ĭisableLog("httpworm") disableLog("sqlinject") disableLog("nuke") disableLog("getServerMinSecurityLevel") ĭisableLog("getServerRequiredHackingLevel") disableLog("getHackingLevel") disableLog("scp") ĭisableLog("getServerMoneyAvailable") disableLog("fileExists") disableLog("getServerNumPortsRequired") ĭisableLog("getServerUsedRam") disableLog("getServerSecurityLevel") disableLog("scan") disableLog("killall") ĭisableLog("getServerMaxMoney") disableLog("getServerMaxRam") disableLog("getScriptRam") tail() (Beta) NaN manual hack time Issue 379 danielyxie/bitburner GitHub danielyxie / bitburner Public Notifications Fork 802 Star 2. This shows basic auto hack script for beginners in Bitburner. It’s plug and play once you have the 3 tiny scripts in your home directory.īeware that it will shut off any scripts on servers it gains control of. The guide is pretty much in the code section with my attempt at documentation. If (!servers.Basic auto hack script that finds and automates the farming of servers. I have code that creates the array (and a rough, lets say 60% understanding of it): my first roadblock is trying to create an infinite array of all the servers. The NUKE virus attacks the target server’s open ports using buffer overflow exploits. ![]() You start the game with a copy of the NUKE virus on your home computer. This can be done using the NUKE virus (NUKE.exe). Depending on your INT level, you can pick up a substantial number of INT this way, though it does take some extra time. This is fine for the computers but useless on my servers, so I'm trying to create a script that will essentially do what my deploy script does, but target every hackable server and run multiple instances of the hack template script at 100 threads each (yes I know there is much more efficient ways to do it, but I'm trying to figure out this script stuff a little too instead of just copy/pasting the most efficient way). The first step to hacking a server is to gain root access to that server. In general, in the early parts of a Bitnode, Ill always create all the programs manually after every Augment install, rather than buy them through the darkweb. It then runs the hack template at maximum allowed threads to run the hack/grow/weaken scripts on itself. I have some code that deploys a grow, weaken, hack, and hack template script to every server. I've ran through some tutorials and have some very basic understanding of code, but I mostly have copy/pasted without much idea of how anything works.Īnyways, on to my problem. I have next to no idea what I'm doing with code, so apologies for the stupidity beforehand.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |