5.0 KiB
Hacking
In the year 2077, currency has become digital and decentralized. People and corporations store their money on servers. By hacking these servers, you can steal their money and gain experience.
Gaining Root Access
The first step to hacking a server is to gain root access to that server.
This can be done using the NUKE.exe
virus.
You start the game with a copy of the NUKE.exe
virus on your home computer.
The NUKE.exe
virus attacks the target server's open ports using buffer overflow exploits.
When successful, you are granted root administrative access to the machine.
In order for the NUKE.exe
virus to succeed, the target server needs to have enough open ports.
Some servers have no security and will not need any ports opened.
Some will have very high security and will need many ports opened.
In order to open ports on another server, you will need to run programs that attack the server to open specific ports.
These programs can be coded once your hacking skill gets high enough, or they can be purchased if you can find a seller.
There are two ways to execute port-opening programs and the NUKE virus:
- Connect to the target server through the Terminal and use the
run
command:$ run [programName]
- Use a function:
nuke
brutessh
ftpcrack
relaysmtp
httpworm
sqlinject
There are two ways to determine how many ports need to be opened on a server in order to successfully NUKE it:
- Connect to that server through the Terminal and use the
analyze
command. - Use the
getServerNumPortsRequired
function.
Once you have enough ports opened on a server and have ran the NUKE virus to gain root access, you will be able to hack it.
For specific details of how Hacking work "offline"
General Hacking Mechanics
When you execute the hack
command, either manually through the Terminal or automatically through a script, you attempt to hack the server.
This action takes time.
The more advanced a server's security is, the more time it will take.
Your hacking skill level also affects the hacking time, with a higher hacking skill leading to shorter hacking times.
Also, running the hack command manually through Terminal
is faster than hacking from a script.
Your attempt to hack a server will not always succeed. The chance you have to successfully hack a server is also determined by the server's security and your hacking skill level. Even if your hacking attempt is unsuccessful, you will still gain experience points.
When you successfully hack a server.
You steal a certain percentage of that server's total money.
This percentage is, once again, determined by the server's security and your hacking skill level.
The amount of money on a server is not limitless.
So, if you constantly hack a server and deplete its money, then you will encounter diminishing returns in your hacking (since you are only hacking a certain percentage).
You can increase the amount of money on a server using a script and the grow
function.
Server Security
Each server has a security level, typically between 1
and 100
.
A higher number means the server has stronger security.
As mentioned above, a server's security level is an important factor to consider when hacking.
You can check a server's security level using the analyze
Terminal command.
You can also check a server's security in a script, using the getServerSecurityLevel
function.
Whenever a server is hacked manually or through a script, its security level increases by a small amount.
Calling the grow
function in a script will also increase security level of the target server.
These actions will make it harder for you to hack the server, and decrease the amount of money you can steal.
You can lower a server's security level in a script using the weaken
function.
This means that a server's security level will not fall below this value if you are trying to weaken
it.
Backdoors
Servers that can be hacked can also have backdoors installed. These backdoors will provide you with a benefit - the services may be cheaper, penalties may be reduced or there may be other results. Honeypots exist and will let factions know when you have succeeded at backdooring their system. Once you have a backdoor installed, you can connect to that server directly.
When you visit a location in the city and see that the name is partially scrambled, this indicates that you have backdoored the server related to the location.