Closed eviltik closed 9 years ago
After read node's doc and make some test, got a doubt that's possible to implement syn scan finger in the nose ..
Need help for this, is there any nodejs low level networking guy in the plane ?
Not easy.
The only way to:
Host A sends SYN to host B
Host B reply with a SYN-ACK
Host A sends RST
is to add binding for
pcap_sendpacket
pcap_sendqueue_* (mandatory ??)
@mscdex https://groups.google.com/forum/?fromgroups#!topic/nodejs/kB-E7h3KM0I
@eviltik You might look at something like raw-socket.
You are the boss, thanks mscdex, i didn't know about this module
not easy but seem's feasible
https://bitbucket.org/stephenwvickers/node-raw-socket/issue/9/ipproto_tcp
this.fireEvent('challengeInProgress',function(err,result) {
if (err) {
console.log('You were dreaming');
process.exit(0);
}
console.log('WORK IN PROGRESS');
});
https://bitbucket.org/stephenwvickers/node-raw-socket/overview
Version 1.1.7 - 23/06/2013 Added the htonl(), htons(), ntohl(), and ntohs() functions, and associated example programs Added the createChecksum() function, and associated example program
cleanup
net.createConnection got allowHalfOpen option ! cool ! it's evil !!
Atm (<0.0.6), only pure tcp connect is supported.