what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

Tss-cgi.sh

Tss-cgi.sh
Posted Jun 9, 2000
Authored by GrAzEr1 | Site team-tss.org

TSScgi.sh is a shell script which scans for vulnerable cgi scripts with the help of netcat.

tags | shell, cgi
systems | unix
SHA-256 | 66bd2915c38a890ba8c7d2a3ab7606b858d64e2c6618d0afe8f6502f11efa8e4

Tss-cgi.sh

Change Mirror Download
# TSScgi.sh 
# usage : sh TSScgi.sh localhost 80
#
# Dedicated to my dog (Pleun) who doesn't feel well these
# days.... love you.
# -------------------------------------------------------
# Use at own risk!! You will not remain anonymous!!!!
#
# requires NetCat!!! (available at http://www.team-tss.org)
# -------------------------------------------------------
# Written by : GrAzEr1 of Team-TSS : GrAzEr1@team-tss.org
# -------------------------------------------------------

#!/bin/sh

logfile="log.txt"


cgi1=" /cgi-bin/phf"
cgi2=" /index.html"
cgi3=" /cgi-bin/test-cgi"
cgi4="/cgi-bin/nph-test-cgi"
cgi5=" /cgi-bin/finger"
cgi6=" /cgi-bin/campas"
cgi7="/_vti_pvt/service.pwd"
cgi8=" /cgi-bin/htmlscript"

# update vuln cgi's yourself

function check {
if grep 404 $logfile > /dev/null; then # only checks for 404, so found
echo " not found " # found warning may be wrong.
else echo " found!!"
fi
rm $logfile
}
echo "-[GrAzEr1 ::: Team - TSS CGI Scanner]-"
echo "-[ http://www.team-tss.org ]-"
echo "-[ #TSS IRCnet ]- "

sleep 3

echo
echo -n " Checking for: $cgi2 : "
(echo GET $cgi2) | nc $1 $2 > $logfile
check

echo -n " Checking for: $cgi3 : "
(echo GET $cgi3) | ((telnet $1 $2 > $logfile) > /dev/null)
check


echo -n " checking for: $cgi4 : "
(echo GET $cgi4) | nc $1 $2 > $logfile
check

echo -n " Checking for: $cgi5 : "
(echo GET $cgi5) | nc $1 $2 > $logfile
check

echo -n " Checking for: $cgi6 : "
(echo GET $cgi6) | nc $1 $2 > $logfile
check

echo -n " Checking for: $cgi7 : "
(echo GET $cgi7) | nc $1 $2 > $logfile
check

echo -n " Checking for: $cgi8 : "
(echo GET $cgi8) | nc $1 $2 > $logfile
check

echo ""
echo "-[ -- Scan Complete -- ]-"
echo ""
Login or Register to add favorites

File Archive:

August 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Aug 1st
    15 Files
  • 2
    Aug 2nd
    22 Files
  • 3
    Aug 3rd
    0 Files
  • 4
    Aug 4th
    0 Files
  • 5
    Aug 5th
    15 Files
  • 6
    Aug 6th
    11 Files
  • 7
    Aug 7th
    43 Files
  • 8
    Aug 8th
    42 Files
  • 9
    Aug 9th
    36 Files
  • 10
    Aug 10th
    0 Files
  • 11
    Aug 11th
    0 Files
  • 12
    Aug 12th
    0 Files
  • 13
    Aug 13th
    0 Files
  • 14
    Aug 14th
    0 Files
  • 15
    Aug 15th
    0 Files
  • 16
    Aug 16th
    0 Files
  • 17
    Aug 17th
    0 Files
  • 18
    Aug 18th
    0 Files
  • 19
    Aug 19th
    0 Files
  • 20
    Aug 20th
    0 Files
  • 21
    Aug 21st
    0 Files
  • 22
    Aug 22nd
    0 Files
  • 23
    Aug 23rd
    0 Files
  • 24
    Aug 24th
    0 Files
  • 25
    Aug 25th
    0 Files
  • 26
    Aug 26th
    0 Files
  • 27
    Aug 27th
    0 Files
  • 28
    Aug 28th
    0 Files
  • 29
    Aug 29th
    0 Files
  • 30
    Aug 30th
    0 Files
  • 31
    Aug 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close