Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 040c79001b7e4e2fdfe1d9b5cd3308f0 > files > 3

sqlninja-0.2.6-0.2.rc2.fc14.src.rpm

diff -up ./sqlninja.fix ./sqlninja
--- ./sqlninja.fix	2011-07-05 23:20:38.830051959 +0530
+++ ./sqlninja	2011-07-05 23:47:08.522271888 +0530
@@ -256,29 +256,8 @@ if (($mode eq "test") || ($mode eq "t"))
 	my $uplfile;
 	while ($uplfile eq "") {
 		print "  Specify the binary or script file to upload\n";
-		print "  shortcuts:\n".
-		      "    1: apps/nc.exe\n".
-		      "    2: apps/dnstun.exe\n".
-		      "    3: apps/churrasco.exe\n".
-		      "    4: apps/icmpsh.exe\n".
-		      "    5: apps/vdmallowed.exe\n".
-		      "    6: apps/vdmexploit.dll\n".
-		      "  > ";
 		$uplfile = <STDIN>;
 		chomp $uplfile;
-		if ($uplfile eq "1") {
-			$uplfile = "apps/nc.exe";
-		} elsif ($uplfile eq "2") {
-			$uplfile = "apps/dnstun.exe";
-		} elsif ($uplfile eq "3") {
-			$uplfile = "apps/churrasco.exe";
-		} elsif ($uplfile eq "4") {
-			$uplfile = "apps/icmpsh.exe";
-		} elsif ($uplfile eq "5") {
-			$uplfile = "apps/vdmallowed.exe";
-		} elsif ($uplfile eq "6") {
-			$uplfile = "apps/vdmexploit.dll";
-		}
 	}
 	upload($uplfile);
 } elsif (($mode eq "dirshell") || ($mode eq "s")) {