Follow us on Twitter!
Hacking isn't just Computers & Exploits. It's a Philosophy. - Mr_Cheese
Friday, April 18, 2014
Navigation
Home
HellBoundHackers Main:
HellBoundHackers Find:
HellBoundHackers Information:
Learn
Communicate
Submit
Shop
Challenges
HellBoundHackers Exploit:
HellBoundHackers Programming:
HellBoundHackers Think:
HellBoundHackers Track:
HellBoundHackers Patch:
HellBoundHackers Other:
HellBoundHackers Need Help?
Other
Members Online
Total Online: 15
Guests Online: 15
Members Online: 0

Registered Members: 82822
Newest Member: TheBunter
Latest Articles
View Thread

HellBound Hackers | Computer General | Programming

Author

Python - Port scanning.

haklite
Member



Posts: 50
Location: A node too far
Joined: 11.09.06
Rank:
Apprentice
Posted on 12-01-13 21:15
Hi All,
So, I've decided recently that Id start into python due to its flexibility and many areas of application.
I'm currently looking into port scanning.
I have written my own scanner (fully working) which I assume is full tcp connect, but I want to investigate syn, ack scans etc, but from what I've come across so far seems to suggest Id have to use scapy, or some other collaboration in order to go beyond full connect scans. :/

Can anyone clarify if this is the case?

I'm not in it for the purpose of creating a scanner, because that would be pointless, what I want is to understand and learn pythons full capabilities with regards sockets and networks and then utilize it.

Any help much appreciated Smile






i949.photobucket.com/albums/ad331/H4KL1T3/Untitled.gif

In the words of DR-K
"When people asked me why I hacked, I had a standard response: Because its there.Because I can.Because its fun."

Author

RE: Python - Port scanning.

haklite
Member



Posts: 50
Location: A node too far
Joined: 11.09.06
Rank:
Apprentice
Posted on 13-01-13 00:18
Nobody???!


i949.photobucket.com/albums/ad331/H4KL1T3/Untitled.gif

In the words of DR-K
"When people asked me why I hacked, I had a standard response: Because its there.Because I can.Because its fun."

Author

RE: Python - Port scanning.

lolly
Member



Posts: 24
Location:
Joined: 02.08.12
Rank:
Wiseman
Warn Level: 30
Posted on 13-01-13 01:20
You don't HAVE to use scapy, but it would definitely make your life a lot easier. If you insist on modeling the packets yourself, look through the RFC for the packet type of whatever scan you're trying to implement.

I've used scapy a few times in the past, and I thought it worked really well though.
Author

RE: Python - Port scanning.

haklite
Member



Posts: 50
Location: A node too far
Joined: 11.09.06
Rank:
Apprentice
Posted on 13-01-13 18:57
Thanks Lolly, that's all I needed to hear. I may resort to scapy eventually, but my ultimate goal is to work entirely off python for now and learn its full potential alone.
I will battle through the RFCs for now and see how it goes.

Thanks for your response, much appreciated Grin


i949.photobucket.com/albums/ad331/H4KL1T3/Untitled.gif

In the words of DR-K
"When people asked me why I hacked, I had a standard response: Because its there.Because I can.Because its fun."

Author

RE: Python - Port scanning.

lolly
Member



Posts: 24
Location:
Joined: 02.08.12
Rank:
Wiseman
Warn Level: 30
Posted on 14-01-13 00:03
One more thing: wireshark is your friend. Use it to make sure you are sending and receiving the correct packets.