Scripts Category Networking

ssltunnel.pl - The world's greatest SSL tunnelling script. Its got itall! Supports reproxying to build a chain of proxies, thus allowingaccess even if your local proxy inserts characters that would normallymess up SSH. Supports BASIC auth. Can even work without SSH.usage: perl ssltunnel.pl [options] desthost destportTunnels a TCP/IP connection through an http proxy using SSL.WARNING: Only use this if you have the proxy ad...

A script to list the Cisco-ASA vpn-sessionsAt time of writing (8/2010), the ASA has a faulty SNMP implementation for the CISCO-REMOTE-ACCESS-MONITOR-MIB. This script fetches the session tables via https: https://oper:pass@my.asa/admin/exec/show%20vpn-sessiondb ...

Test or wait for an event using boolean expressions on top of alanguage of tests like grepping in ps-output and logs, pinging hostsor waiting for events like 'not-recently-changed' or 'networkinterface N is idle'.

This script retrive the information of Listening and active ports and show the output similar to lsof -i. It can be used on compromised systems where lsof is infected and hide the processes or connections.

This script connects to the FTP server and compares the last modification timeof all or part of the files in a remote directory. It sends a message to thestandard output or by email when it finds new files since the last time itchecked.

rsc executes a (Perl!-)Script on another host. Neither this target script,nor rsc or parts of it, nor input or output files have to be locatedon the target machine.There's no need to prepare the target system in any special way. No specialdeamon has to run there, only perl 5.005 or higher with a few modules installedand an rsh deamon are required. Additionally, this remote perl installation needsinstallations of t...

This script is building a TCP/IP tunnel between two ports. In otherwords, it makes you think that a server is listening on your localmachine, port <num>, which is really sitting on host <tohost>, port<tonum>.The main purpose of the script is the debugging of client/serverapplications, as it includes the ability to log what the clientsends. This is done by using the option --dir=<dir>: If this optionis present, then any new c...

This script is building a TCP/IP tunnel between two ports. In otherwords, it makes you think that a server is listening on your localmachine, port <num>, which is really sitting on host <tohost>, port<tonum>.The main purpose of the script is the debugging of client/serverapplications, as it includes the ability to log what the clientsends. This is done by using the option --dir=<dir>: If this optionis present, then any new c...

This small script creates and uses shortcuts for launching SSH sessions. It's a useful toolwhen you have a lot of systems to manage.This program is meant to be executed through a symlink to a hard link. The hard link file iscalled a C<parameter file>; the symlink is referred to as the C<shortcut>. If you wish,the hard link may also serve as the shortcut, obviating the step of creating a symlink.The C<parameter file> is cre...

karakurt, pure Perl httpd v0.01.36 (c) Dzianis Kahanovich, GPLsThis software are with NO WARRANTY!I wrote it becouse I needs for small, fast, all-in-one httpd/perl, main -in xinetd. There are my first server sockets programming (daemon/standalone),then standalone mode are totally experemental, but caching modes are much moreexperemental and unsecure and unsafe. Use it only for debugged, verifyedscripts set. Also eX...

karakurt, pure Perl httpd v0.01.37 (c) Dzianis Kahanovich, GPLsThis software are with NO WARRANTY!I wrote it becouse I needs for small, fast, all-in-one httpd/perl, main -in xinetd. There are my first server sockets programming (daemon/standalone),then standalone mode are totally experemental, but caching modes are much moreexperemental and unsecure and unsafe. Use it only for debugged, verifyedscripts set. Also eX...

karakurt, pure Perl httpd v0.01.38 (c) Dzianis Kahanovich, GPLsThis software are with NO WARRANTY!I wrote it becouse I needs for small, fast, all-in-one httpd/perl, main -in xinetd. There are my first server sockets programming (daemon/standalone),then standalone mode are totally experemental, but caching modes are much moreexperemental and unsecure and unsafe. Use it only for debugged, verifyedscripts set. Also eX...

karakurt, pure Perl httpd v0.01.43 (c) Dzianis Kahanovich, GPLsThis software are with NO WARRANTY!I wrote it becouse I needs for small, fast, all-in-one httpd/perl, main -in xinetd. There are my first server sockets programming (daemon/standalone),then standalone mode are totally experemental, but caching modes are much moreexperemental and unsecure and unsafe. Use it only for debugged, verifyedscripts set. Also eX...

karakurt, pure Perl httpd v0.01.45 (c) Dzianis Kahanovich, GPLsThis software are with NO WARRANTY!I wrote it becouse I needs for small, fast, all-in-one httpd/perl, main -in xinetd. There are my first server sockets programming (daemon/standalone),then standalone mode are totally experemental, but caching modes are much moreexperemental and unsecure and unsafe. Use it only for debugged, verifyedscripts set. Also eX...

karakurt, pure Perl httpd v0.01.46 (c) Dzianis Kahanovich, GPLsThis software are with NO WARRANTY!I wrote it becouse I needs for small, fast, all-in-one httpd/perl, main -in xinetd. There are my first server sockets programming (daemon/standalone),then standalone mode are totally experemental, but caching modes are much moreexperemental and unsecure and unsafe. Use it only for debugged, verifyedscripts set. Also eX...

karakurt, pure Perl httpd v0.01.49 (c) Dzianis Kahanovich, GPLsThis software are with NO WARRANTY!I wrote it becouse I needs for small, fast, all-in-one httpd/perl, main -in xinetd. There are my first server sockets programming (daemon/standalone),then standalone mode are totally experemental, but caching modes are much moreexperemental and unsecure and unsafe. Use it only for debugged, verifyedscripts set. Also eX...

This is a Perl/Tk tool for sending SMS messages. The application uses the SMSgateway at www.genie.co.uk to do the sending. This is achieved using theNet::SMS::Genie module.This application has been tested under Solaris, Linux and Windows98 (runningthe binary distribution of SiePerl available from CPAN). It should runun-edited on any UNIX platform with Perl and the required modules installed.It should likewise run on other ...

This is a Perl/Tk tool for sending SMS messages. The application uses the SMSgateway at www.genie.co.uk to do the sending. This is achieved using theNet::SMS::Genie module.This application has been tested under Solaris, Linux and Windows98 (runningthe binary distribution of SiePerl available from CPAN). It should runun-edited on any UNIX platform with Perl and the required modules installed.It should likewise run on other ...

This is a Perl/Tk tool for sending SMS messages. The application uses the SMSgateway at www.genie.co.uk to do the sending. This is achieved using theNet::SMS::Genie module.This application has been tested under Solaris, Linux and Windows98 (runningthe binary distribution of SiePerl available from CPAN). It should runun-edited on any UNIX platform with Perl and the required modules installed.It should likewise run on other ...

Export/Import between DB_File and SDBM_Filefrom Windows and Unix platformsSDBM_Files can be ftp'ed across Unix/Windowsplatforms and work without a hitch. (pag anddir files). DB_Files can't be ftp'ed acrossplatform. (something to do with edian)I like to use DB_File instead of SDBM_FileThis util will export a DB_File to SDBM_Filesfor you to ftp. Then you can import thefiles (after ftping) by coverting to DB_Fileat destina...

Export/Import between DB_File and SDBM_Filefrom Windows and Unix platformsSDBM_Files can be ftp'ed across Unix/Windowsplatforms and work without a hitch. (pag anddir files). DB_Files can't be ftp'ed acrossplatform. (something to do with edian)I like to use DB_File instead of SDBM_FileThis util will export a DB_File to SDBM_Filesfor you to ftp. Then you can import thefiles (after ftping) by coverting to DB_Fileat destina...

This daemon is written to communicate with a Davis Vantage Pro Weather Staion.It will store the daily extreme values and their time of occurance in a database and update the weather underground and/or APRSWXNET/CWOP at a user configurable interval between once per hour and once per minute, or you can disable this feature altogether. It will generate 3 comma seperated text files and 5 RRDs as it runs. These files are intended ...

tunnel-auth.pl - traverse a HTTP proxy via SSL Connect with Basic orDigest authentication.This script can be used to traverse a HTTP proxy that supports the CONNECT command as is done for SSL. It negotiates HTTP authentication,if necessary, then steps aside and acts as a simple port forwarder.It reports a User-Agent string during negotiation so that nothingsuspicious appears in the proxy logs. Compatibility with Win32 wasret...

tunnel-auth.pl - traverse a www-proxy via SSL Connect with Basic orDigest authentication.This script can be used to traverse a www-proxy that supports the HTTPCONNECT command as is done for SSL. It negotiates HTTP authentication,if necessary, then steps aside and acts as a simple port forwarder.It reports a User-Agent string during negotiation so that nothingsuspicious appears in the proxy logs. Compatibility with Win32 wasr...

Print info about traffic on specified interface[s]Usage: trafshow.pl [-hl] -i<interface[,interface[...]]> [-f<filterLine>] [-r<screenRefreshInterval>] [-d<disapperTimeout>] [-pnecst]trafshow.pl is capturing traf on the specified interfacesand show it on terminal in real time-h: Print help notice, and exit-l: List all available interfaces, and exit-p: Do not operate in promiscuous mode-e: Show the Ethernet traffic rath...

Print info about traffic on specified interface[s]Usage: trafshow.pl [-hl] -i<interface[,interface[...]]> [-f<filterLine>] [-r<screenRefreshInterval>] [-d<disapperTimeout>] [-pnecst]trafshow.pl is capturing traf on the specified interfacesand show it on terminal in real time-h: Print help notice, and exit-l: List all available interfaces, and exit-p: Do not operate in promiscuous mode-e: Show the Ethernet traffic rath...