mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 17:46:37 +03:00
Updated also the patch file
This commit is contained in:
parent
deeccf9b5e
commit
ae0f1985f3
|
@ -1,8 +1,27 @@
|
||||||
diff -uN lib_mysqludf_sys/install.sh lib_mysqludf_sys_0.0.3/install.sh
|
diff -uN lib_mysqludf_sys_0.0.2/install.sh lib_mysqludf_sys/install.sh
|
||||||
--- lib_mysqludf_sys/install.sh 1970-01-01 01:00:00.000000000 +0100
|
--- lib_mysqludf_sys_0.0.2/install.sh 1970-01-01 01:00:00.000000000 +0100
|
||||||
+++ lib_mysqludf_sys_0.0.3/install.sh 2009-01-15 16:04:50.000000000 +0000
|
+++ lib_mysqludf_sys/install.sh 2009-01-21 00:51:52.000000000 +0000
|
||||||
@@ -0,0 +1,25 @@
|
@@ -0,0 +1,43 @@
|
||||||
+#!/bin/bash
|
+#!/bin/bash
|
||||||
|
+# lib_mysqludf_sys - a library with miscellaneous (operating) system level functions
|
||||||
|
+# Copyright (C) 2007 Roland Bouman
|
||||||
|
+# Copyright (C) 2008-2009 Roland Bouman and Bernardo Damele A. G.
|
||||||
|
+# web: http://www.mysqludf.org/
|
||||||
|
+# email: mysqludfs@gmail.com, bernardo.damele@gmail.com
|
||||||
|
+#
|
||||||
|
+# This library is free software; you can redistribute it and/or
|
||||||
|
+# modify it under the terms of the GNU Lesser General Public
|
||||||
|
+# License as published by the Free Software Foundation; either
|
||||||
|
+# version 2.1 of the License, or (at your option) any later version.
|
||||||
|
+#
|
||||||
|
+# This library is distributed in the hope that it will be useful,
|
||||||
|
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
+# Lesser General Public License for more details.
|
||||||
|
+#
|
||||||
|
+# You should have received a copy of the GNU Lesser General Public
|
||||||
|
+# License along with this library; if not, write to the Free Software
|
||||||
|
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
+
|
+
|
||||||
+echo "Compiling the MySQL UDF"
|
+echo "Compiling the MySQL UDF"
|
||||||
+make
|
+make
|
||||||
|
@ -16,10 +35,9 @@ diff -uN lib_mysqludf_sys/install.sh lib_mysqludf_sys_0.0.3/install.sh
|
||||||
+ echo "MySQL UDF compiled successfully"
|
+ echo "MySQL UDF compiled successfully"
|
||||||
+fi
|
+fi
|
||||||
+
|
+
|
||||||
+echo -e "\nPlease provide your MySQL root password and press RETURN: \c"
|
+echo -e "\nPlease provide your MySQL root password"
|
||||||
+read PASSWORD
|
|
||||||
+
|
+
|
||||||
+mysql -u root --password=$PASSWORD mysql < lib_mysqludf_sys.sql
|
+mysql -u root -p mysql < lib_mysqludf_sys.sql
|
||||||
+
|
+
|
||||||
+if test $? -ne 0; then
|
+if test $? -ne 0; then
|
||||||
+ echo "ERROR: unable to install the UDF"
|
+ echo "ERROR: unable to install the UDF"
|
||||||
|
@ -27,10 +45,10 @@ diff -uN lib_mysqludf_sys/install.sh lib_mysqludf_sys_0.0.3/install.sh
|
||||||
+else
|
+else
|
||||||
+ echo "MySQL UDF installed successfully"
|
+ echo "MySQL UDF installed successfully"
|
||||||
+fi
|
+fi
|
||||||
Binary files lib_mysqludf_sys/lib_mysqludf_sys_0.0.2.tar.gz and lib_mysqludf_sys_0.0.3/lib_mysqludf_sys_0.0.2.tar.gz differ
|
Binary files lib_mysqludf_sys_0.0.2/lib_mysqludf_sys_0.0.2.tar.gz and lib_mysqludf_sys/lib_mysqludf_sys_0.0.2.tar.gz differ
|
||||||
diff -uN lib_mysqludf_sys/lib_mysqludf_sys.c lib_mysqludf_sys_0.0.3/lib_mysqludf_sys.c
|
diff -uN lib_mysqludf_sys_0.0.2/lib_mysqludf_sys.c lib_mysqludf_sys/lib_mysqludf_sys.c
|
||||||
--- lib_mysqludf_sys/lib_mysqludf_sys.c 2007-08-05 13:46:43.000000000 +0100
|
--- lib_mysqludf_sys_0.0.2/lib_mysqludf_sys.c 2009-01-21 20:52:54.000000000 +0000
|
||||||
+++ lib_mysqludf_sys_0.0.3/lib_mysqludf_sys.c 2009-01-15 15:55:33.000000000 +0000
|
+++ lib_mysqludf_sys/lib_mysqludf_sys.c 2009-01-21 00:06:13.000000000 +0000
|
||||||
@@ -1,8 +1,9 @@
|
@@ -1,8 +1,9 @@
|
||||||
/*
|
/*
|
||||||
lib_mysqludf_sys - a library with miscellaneous (operating) system level functions
|
lib_mysqludf_sys - a library with miscellaneous (operating) system level functions
|
||||||
|
@ -150,19 +168,19 @@ diff -uN lib_mysqludf_sys/lib_mysqludf_sys.c lib_mysqludf_sys_0.0.3/lib_mysqludf
|
||||||
+ if (!(*result) || result == NULL) {
|
+ if (!(*result) || result == NULL) {
|
||||||
+ *is_null = 1;
|
+ *is_null = 1;
|
||||||
+ } else {
|
+ } else {
|
||||||
+ result[outlen] = 0x00;
|
+ result[outlen] = 0x00;
|
||||||
+ *length = strlen(result);
|
+ *length = strlen(result);
|
||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
+ return result;
|
+ return result;
|
||||||
+}
|
+}
|
||||||
+
|
+
|
||||||
|
|
||||||
#endif /* HAVE_DLOPEN */
|
#endif /* HAVE_DLOPEN */
|
||||||
Binary files lib_mysqludf_sys/lib_mysqludf_sys.so and lib_mysqludf_sys_0.0.3/lib_mysqludf_sys.so differ
|
Binary files lib_mysqludf_sys_0.0.2/lib_mysqludf_sys.so and lib_mysqludf_sys/lib_mysqludf_sys.so differ
|
||||||
diff -uN lib_mysqludf_sys/lib_mysqludf_sys.sql lib_mysqludf_sys_0.0.3/lib_mysqludf_sys.sql
|
diff -uN lib_mysqludf_sys_0.0.2/lib_mysqludf_sys.sql lib_mysqludf_sys/lib_mysqludf_sys.sql
|
||||||
--- lib_mysqludf_sys/lib_mysqludf_sys.sql 2007-06-02 20:42:53.000000000 +0100
|
--- lib_mysqludf_sys_0.0.2/lib_mysqludf_sys.sql 2009-01-21 20:52:54.000000000 +0000
|
||||||
+++ lib_mysqludf_sys_0.0.3/lib_mysqludf_sys.sql 2009-01-15 15:57:34.000000000 +0000
|
+++ lib_mysqludf_sys/lib_mysqludf_sys.sql 2009-01-21 00:51:00.000000000 +0000
|
||||||
@@ -1,8 +1,9 @@
|
@@ -1,8 +1,9 @@
|
||||||
/*
|
/*
|
||||||
lib_mysqludf_sys - a library with miscellaneous (operating) system level functions
|
lib_mysqludf_sys - a library with miscellaneous (operating) system level functions
|
||||||
|
@ -198,9 +216,9 @@ diff -uN lib_mysqludf_sys/lib_mysqludf_sys.sql lib_mysqludf_sys_0.0.3/lib_mysqlu
|
||||||
+CREATE FUNCTION sys_set RETURNS int SONAME 'lib_mysqludf_sys.so';
|
+CREATE FUNCTION sys_set RETURNS int SONAME 'lib_mysqludf_sys.so';
|
||||||
+CREATE FUNCTION sys_exec RETURNS int SONAME 'lib_mysqludf_sys.so';
|
+CREATE FUNCTION sys_exec RETURNS int SONAME 'lib_mysqludf_sys.so';
|
||||||
+CREATE FUNCTION sys_eval RETURNS string SONAME 'lib_mysqludf_sys.so';
|
+CREATE FUNCTION sys_eval RETURNS string SONAME 'lib_mysqludf_sys.so';
|
||||||
diff -uN lib_mysqludf_sys/Makefile lib_mysqludf_sys_0.0.3/Makefile
|
diff -uN lib_mysqludf_sys_0.0.2/Makefile lib_mysqludf_sys/Makefile
|
||||||
--- lib_mysqludf_sys/Makefile 2007-08-05 12:54:53.000000000 +0100
|
--- lib_mysqludf_sys_0.0.2/Makefile 2009-01-21 20:52:54.000000000 +0000
|
||||||
+++ lib_mysqludf_sys_0.0.3/Makefile 2009-01-15 15:52:48.000000000 +0000
|
+++ lib_mysqludf_sys/Makefile 2009-01-19 09:11:00.000000000 +0000
|
||||||
@@ -1,6 +1,4 @@
|
@@ -1,6 +1,4 @@
|
||||||
-linux: \
|
-linux: \
|
||||||
- lib_mysqludf_sys.so
|
- lib_mysqludf_sys.so
|
||||||
|
@ -211,3 +229,4 @@ diff -uN lib_mysqludf_sys/Makefile lib_mysqludf_sys_0.0.3/Makefile
|
||||||
- gcc -Wall -I/opt/mysql/mysql/include -I. -shared lib_mysqludf_sys.c -o lib_mysqludf_sys.so
|
- gcc -Wall -I/opt/mysql/mysql/include -I. -shared lib_mysqludf_sys.c -o lib_mysqludf_sys.so
|
||||||
+install:
|
+install:
|
||||||
+ gcc -Wall -I/usr/include/mysql -I. -shared lib_mysqludf_sys.c -o $(LIBDIR)/lib_mysqludf_sys.so
|
+ gcc -Wall -I/usr/include/mysql -I. -shared lib_mysqludf_sys.c -o $(LIBDIR)/lib_mysqludf_sys.so
|
||||||
|
Common subdirectories: lib_mysqludf_sys_0.0.2/.svn and lib_mysqludf_sys/.svn
|
||||||
|
|
Loading…
Reference in New Issue
Block a user