Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/threatcode/sqlmap_proxy
https://github.com/threatcode/sqlmap_proxy
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/threatcode/sqlmap_proxy
- Owner: threatcode
- Created: 2024-09-10T20:47:19.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-09-10T20:50:31.000Z (5 months ago)
- Last Synced: 2024-09-11T00:24:08.525Z (5 months ago)
- Language: Python
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# sqlmap_proxy
## Overview
sqlmap_proxy is a tcp proxy for sqlmap. Since sqlmap only supports http requests, this proxy is used to convert the parameters of sqlmap into tcp messages to be sent.Adding the tcp response back in the web page can theoretically help sqlmap to get valid information, but the actual use is recommended to redirect the tcp output to the file to view it by itself.
## How to use?
```python
python3 sqlproxy.py ip port Start_position End_position Initial_hexadecimal_message
```
sqlmap_proxy takes a total of five parameters:
```ip```: The IP of the server to receive the tcp request
```port```: The server port that will accept the tcp request
```Start_position```: Start position of the replacement message
```End_position```: End position of the replacement message
```Initial_hexadecimal_message```: Initial_hexadecimal_messageTesting ``` http://your_ip:28888/?a=```with sqlmap
The value of 'a' will be spliced into the tcp message## Example
```python
python3 sqlproxy.py 127.0.0.1 29999 1 3 '11 22 33 44 55'
```
After running this command, the value of a will replace the first 11 and end with the third 33, for example, if the value of 'a' is 1, it will produce ```31 44 55 ```(The hexadecimal value of``` '1'``` is``` '31'```,if you want to replace ```one bit```, you can make the ```Start_position``` and ```End_position``` as the same)```.