Jump to content
Sign in to follow this  
systemhijack

winsock

Recommended Posts

systemhijack

$ws=objcreate("mswinsock.winsock.1")
$ws.remotehost="127.0.0.1"
for $x=1 to 10000
$ws.remoteport=$x
$ws.connect
sleep(10)
if $ws.state=7 then filewrite("prtsoo.txt",$x&@crlf)
$ws.close
next

i was testing that for a local portscanner,

but the objcreate returns an error. any ideas?

Edited by systemhijack

Share this post


Link to post
Share on other sites
ptrex
systemhijack

@systemhijack

I ran your example and it runs fine on my machine ?

regards

ptrex

that would mean that my computer doesnt have Winsock. ROFL

Share this post


Link to post
Share on other sites
WeMartiansAreFriendly

that would mean that my computer doesnt have Winsock. ROFL

...Or... it could autoit. how could you connect without it??


Don't bother, It's inside your monitor!------GUISetOnEvent should behave more like HotKeySet()

Share this post


Link to post
Share on other sites
systemhijack

...Or... it could autoit. how could you connect without it??

I got the newest versions of AutoIt, Including BETA, ScITE

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×