Jump to content

Recommended Posts

Posted (edited)

This might sound dumb But is it possible to have a script change your wep key on a daily or weekly basses.

:edit

Or if for example you have 3 computers on a network.

192.168.254.1

192.168.254.2

192.168.254.3

if address exist 192.168.254.4/255 then msgbox(0,$ip,"some one has connected")

Edited by onedayillpay
Posted

Provided you could use IE to connect to your WEP enabled router, enter the current administrator password and then change the WEP key. You would then have to go to each computer on your network and run a script to update the WEP password so you could connect.

Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache

Posted

I have a idea. using nmap to scan for host would be easy "nmap -P0 -p 80 192.168.254.1/255"

but i dont know if you could read the text displayed in the command promp.

for example

$netstat = Run("netstat -n", @WorkingDir, @SW_HIDE, 7)
$aRecords = StringSplit(StringStripCR(StdoutRead($netstat)), @LF)
$file = FileRead('test.txt')

For $x = 1 To $aRecords[0]
    If StringInStr($aRecords[$x], '6112') And Not StringInStr($file, $aRecords[$x]) Then FileWriteLine('test.txt', $aRecords[$x])
Next
if you could do something like this with nmap.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...