SecurityDocs: Comment on NetCat Tutorial
Netcat is a simple Unix utility which reads and writes data across network connections, using TCP or UDP protocol. It is designed to be a reliable "back-end" tool that can be used directly or easily driven by other programs and scripts. At the same time, it is a feature-rich network debugging and exploration tool, since it can create almost any kind of connection you would need and has several interesting built-in capabilities. Netcat, or "nc" as the actual program is named, should have been supplied long ago as another one of those cryptic but standard Unix tools.
Netcat’s homepage is: http://netcat.sourceforge.net
The official Netcat homepage makes no reference to Windows systems, however you can find a Win32 copy at
http://www.vulnwatch.org/netcat/.
Showing posts with label NetCat. Show all posts
Showing posts with label NetCat. Show all posts
Wednesday, January 9, 2008
NetCat Tutorial at securitdocs.com
Tuesday, January 8, 2008
send emails using JScript + Netcat
Automated Email Sending From The Command Line Using JScript (CodeProject)
Send emails using JScript and Netcat. This technique can used for mailouts or load testing.
Download nc111nt.zip - 104.4 KB (NetCat for Windows)
Netcat for Windows is phenomenally powerful when driven from Windows Scripting Host!
Netcat On Windows Background
Netcat is a very powerful, open source (GPL 2) network tool that come originally from Unix. It is so powerful and easy to use that it has gained a bad reputation as a hacker tool. This is not what it was designed for, and indeed, many security professionals use it in the war against hackers.
Send emails using JScript and Netcat. This technique can used for mailouts or load testing.
Download nc111nt.zip - 104.4 KB (NetCat for Windows)
Netcat for Windows is phenomenally powerful when driven from Windows Scripting Host!
Netcat On Windows Background
Netcat is a very powerful, open source (GPL 2) network tool that come originally from Unix. It is so powerful and easy to use that it has gained a bad reputation as a hacker tool. This is not what it was designed for, and indeed, many security professionals use it in the war against hackers.
var strExe = "nc -v smtp.myserver.co.uk 25";
var objShell = WScript.CreateObject("WScript.Shell");
var total = 512;
var delay = 0;
var victim = "oops@example.com";
for(var i=0;i<total;++i)
{
var strExeIn ="HELO nerds-central.com\r\n";
strExeIn+="MAIL FROM: <test@example.com>\r\n";
strExeIn+="RCPT TO: <"+victim+">\r\n";
strExeIn+="DATA\r\n";
strExeIn+="Body of email: this is an auto generated test email.\r\n";
strExeIn+="This is "+(i+1)+" of "+total+"\r\n";
strExeIn+=".\r\n";
strExeIn+="QUIT\r\n";
var objScriptExec = objShell.Exec(strExe);
objScriptExec.StdIn.write(strExeIn);
objScriptExec.StdIn.close();
WScript.echo("Sending "+(i+1)+" of "+total+" to "+victim);
WScript.echo(objScriptExec.StdOut.ReadAll());
WScript.sleep(delay);
}
Subscribe to:
Posts (Atom)