About
Community
Bad Ideas
Drugs
Ego
Erotica
Fringe
Society
Technology
register | bbs | search | rss | faq | about
meet up | add to del.icio.us | digg it
Go Back   Community > Technology > Network (in)Security
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Network (in)Security Interesting hacks and cracks. Info on firewalls, TCP/IP, encryption, networks, and security. The ins and outs of the phone system, caller services, how things work, what's illegal and what's not, cellular phones, beepers, telephony legislation, the PUC, ISDN, taps, who's listening, and switches. Talking about phones, hacking systems, technical advice, and such is completely LEGAL in the United States -- it's covered by the First Amendment. What's illegal is conspiracy to commit a crime. So if you say something like "Meet me at 2am so we can crack a can" or "I changed my cell phone's number myself" you are criminally liable. Stating "You can crack a can by doing thus-and-so" or "If you wanted to change a cell phone's number, you could do it like so" is perfectly OK. Posting passwords, calling card numbers, or credit card numbers is forbidden on this network. Posting such info will get you booted off the net.

Reply
 
Thread Tools Display Modes
 #1 
Old 2002-10-20, 04:53
b4d0m3n b4d0m3n is offline
Regular
 
Default python and the net

hello. i was wandering if anyone has any info on making a port scanner using PYTHON. i just wanna try my hand at it.
 #2 
Old 2002-10-20, 05:18
cense cense is offline
Regular
 
Default Re: python and the net

the same way you would write a port scanner in any other language. Python, like most languages has support for network functions. C has it's slew of functions and so does python.

there are many different styles of port scanning. If all you want to do is direct 'connect()' calls to each port in sequence, its easy. In pseudo code:

for port_low <= port_high, ++port_low do
status = connect(x,x,x,port_low)
if status != <error code> then
print port_low
end if
end for

... that is OVER simplified, but you get the idea. Writing in different langauges only changes your syntax and tools/libraries, from the programming perspective that is, the concepts are almost always the same (unless you are using some wildly different language, which you are not).

did I confuse you yet?
 
To the best of our knowledge, the text on this page may be freely reproduced and distributed.
 

totse.com certificate signatures
 
 
About | Community | Bad Ideas | Drugs | Ego | Erotica | Fringe | Society | Technology
Hot Topics