[sqlninja] add updated patch
Fabian Affolter
fab at fedoraproject.org
Thu Sep 25 19:40:40 UTC 2014
commit 3ae4304fd9f0c70dd22983851210c3771e9005f9
Author: Fabian Affolter <fabian at affolter-engineering.ch>
Date: Thu Sep 25 21:40:15 2014 +0200
add updated patch
...nja-binary-upload-mode-fix-0.2.999-alpha1.patch | 32 ++++++++++++++++++++
1 files changed, 32 insertions(+), 0 deletions(-)
---
diff --git a/sqlninja-binary-upload-mode-fix-0.2.999-alpha1.patch b/sqlninja-binary-upload-mode-fix-0.2.999-alpha1.patch
new file mode 100644
index 0000000..d4e9bea
--- /dev/null
+++ b/sqlninja-binary-upload-mode-fix-0.2.999-alpha1.patch
@@ -0,0 +1,32 @@
+--- sqlninja-0.2.999-alpha1/sqlninja 2013-02-03 23:25:10.000000000 +0100
++++ sqlninja-0.2.999-alpha1/sqlninja.new 2014-09-25 21:33:38.307870684 +0200
+@@ -234,29 +234,8 @@
+ 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 (($conf->{'mode'} eq "dirshell") || ($conf->{'mode'} eq "s")) {
More information about the scm-commits
mailing list