Skip to content

Instantly share code, notes, and snippets.

@GitHub30
Created December 20, 2017 14:53
Show Gist options
  • Save GitHub30/019d3a2703f9470abf515b26d1284b8e to your computer and use it in GitHub Desktop.
Save GitHub30/019d3a2703f9470abf515b26d1284b8e to your computer and use it in GitHub Desktop.
1 cd /usr/local/src/
2 git clone https://github.com/mysqludf/lib_mysqludf_sys.git
3 apt install -y git
4 apt update
5 apt install -y git
6 git clone https://github.com/mysqludf/lib_mysqludf_sys.git
7 cd lib_mysqludf_sys/
8 ./install.sh
9 apt install make
10 ./install.sh
11 apt install gcc
12 ./install.sh
13 apt search libmysqlclient
14 apt install libmysqlclient-dev
15 ./install.sh
16 cp Makefile Makefile.old
17 nano Makefile
18 vi Makefile
19 vim Makefile
20 apt install nano
21 nano Makefile
22 ./install.sh
23 find / -name lib_mysqludf_sys.so
24 nano Makefile
25 env
26 nano Makefile
27 ./install.sh
28 mysql -uroot -p -e "select * from mysql.func;"
29 mysql -uroot -p -e "select sys_eval('id');"
30 ls /etc/apparmor.d/usr.sbin.mysqld
31 mysql -uroot -p -e "select sys_eval('pwd');"
32 mysql -uroot -p -e "select sys_eval('env');"
33 history
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment