switchAnyFireWall()
From Hack Wars Wiki
| Function information for switchAnyFireWall() | |
| Function | switchAnyFireWall(string firewall) |
| API | Watch |
| Cost | $500 |
| Level | 10 |
| CPU Usage | 5 |
| Description | Checks the secondary array of ports being observed by this watch for any firewall. If one is found then this firewall is moved to the port that caused this watch to fire. |
The Setup
To install a switchAnyFirewall() watch in your watch manager, go to File > Install New Watch. In the prompted window, select switchAnyFirewall.bin file and then at the bottom of the window select health as type (It could be whichever type you want depending on your needs/wants, though normally a health watch is the appropiate choice). After that set the port value to the value of the port that you want to switch the firewall to, now click install. Do not worry about setting the wrong type or port. It can be corrected later in the watch manager. Now there are two more things left to setup: Observed Ports and Value that the watch will fire at. The Observed Ports is the port or an array of ports from where you want to take a firewall from. Finally the value on the right is the health threshold that you want so that when it hits that value or drops below it, the firewall will be switched. NOTE: The firewall will not be switched back after the attack, you will need to change the settings of the watch accordingly to switch it back.
