Hot Downloads

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Half Open Syn Scanner

Half Open Syn Scanner 12 years 1 week ago #6057

  • devcode
  • devcode's Avatar
  • Offline
  • New Member
  • Posts: 4
  • Karma: 0
I'm looking for any sources related to Windows Half Open Syn scanning for learning. If anyone can make a simple one or provide one, i'd appreciate it. Thanks.
The administrator has disabled public write access.

Re: Half Open Syn Scanner 12 years 1 week ago #6061

  • sahirh
  • sahirh's Avatar
  • Offline
  • Honored Member
  • Posts: 1700
  • Karma: 0
Check my reply to your PM
Sahir Hidayatullah.
Firewall.cx Staff - Associate Editor & Security Advisor
tftfotw.blogspot.com
The administrator has disabled public write access.

Re: Half Open Syn Scanner 12 years 1 week ago #6071

  • devcode
  • devcode's Avatar
  • Offline
  • New Member
  • Posts: 4
  • Karma: 0
heh your syn flooder had a couple of errors in it and i did seem to fix them (compile errors) but overall it ended up crashing the program whenever run.

I am quite new to socket programming and i just wanted a simple source that worked so that i could understand what it was doing.
The administrator has disabled public write access.

Re: Half Open Syn Scanner 12 years 1 week ago #6072

  • devcode
  • devcode's Avatar
  • Offline
  • New Member
  • Posts: 4
  • Karma: 0
and strobe is for Linux unfortunately. Thats why i wanted you to code from that syn flooder you already made. heh I would REALLY appreciate it. Thanks.
The administrator has disabled public write access.

Re: Half Open Syn Scanner 12 years 1 week ago #6076

  • sahirh
  • sahirh's Avatar
  • Offline
  • Honored Member
  • Posts: 1700
  • Karma: 0
*gasp* My code had compile errors *staggers backwards*.. I normally make it so clean that it won't even spit you a warning ! That said, if you have Windows XP SP2, it might bork my raw sockets.

What exactly were the compile errors you recieved and what did you do to resolve them. Lets see if I can get some time to write a skeleton syn scanner..

Yep strobe and other port scanners are for Linux, but they're written in C / C++ so it doesn't matter.. you can apply the same concepts.
Windows sockets and UNIX sockets programming are the same for all functions except where it starts with a capital letter.. or WSA..

Cheers,
Sahir Hidayatullah.
Firewall.cx Staff - Associate Editor & Security Advisor
tftfotw.blogspot.com
The administrator has disabled public write access.

Re: Half Open Syn Scanner 12 years 1 week ago #6083

  • devcode
  • devcode's Avatar
  • Offline
  • New Member
  • Posts: 4
  • Karma: 0
[code:1]
Configuration: pscan2 - Win32 Debug
Compiling...
main.cpp
e:\pscan2\main.cpp(145) : error C2664: 'setsockopt' : cannot convert parameter 4 from 'int *' to 'const char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
e:\pscan2\main.cpp(154) : warning C4244: '=' : conversion from 'double' to 'unsigned char', possible loss of data
e:\pscan2\main.cpp(155) : warning C4244: '=' : conversion from 'double' to 'unsigned char', possible loss of data
e:\pscan2\main.cpp(156) : warning C4244: '=' : conversion from 'double' to 'unsigned char', possible loss of data
e:\pscan2\main.cpp(157) : warning C4244: '=' : conversion from 'double' to 'unsigned char', possible loss of data
e:\pscan2\main.cpp(158) : error C2664: 'sprintf' : cannot convert parameter 1 from 'unsigned char [7]' to 'char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
e:\pscan2\main.cpp(159) : error C2664: 'inet_addr' : cannot convert parameter 1 from 'unsigned char [7]' to 'const char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
e:\pscan2\main.cpp(174) : error C2664: 'sendto' : cannot convert parameter 2 from 'unsigned char [4096]' to 'const char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
e:\pscan2\main.cpp(179) : warning C4508: 'main' : function should return a value; 'void' return type assumed
e:\pscan2\main.cpp(191) : error C2440: '=' : cannot convert from 'unsigned short [32]' to 'unsigned char *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
Error executing cl.exe.

pscan2.exe - 5 error(s), 5 warning(s)[/code:1]

I believe i just added (char*) before some of them and removed the set limit (such as [4096]) and used unsigned char*.
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 0.079 seconds

CCENT/CCNA

Cisco Routers

  • SSL WebVPN
  • Securing Routers
  • Policy Based Routing
  • Router on-a-Stick

VPN Security

  • Understand DMVPN
  • GRE/IPSec Configuration
  • Site-to-Site IPSec VPN
  • IPSec Modes

Cisco Help

  • VPN Client Windows 8
  • VPN Client Windows 7
  • CCP Display Problem
  • Cisco Support App.

Windows 2012

  • New Features
  • Licensing
  • Hyper-V / VDI
  • Install Hyper-V

Linux

  • File Permissions
  • Webmin
  • Groups - Users
  • Samba Setup