mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 01:26:42 +03:00
Updated Usage (markdown)
parent
81ddcdacfd
commit
eb8e7b006f
12
Usage.md
12
Usage.md
|
@ -249,7 +249,7 @@ Options:
|
|||
--identify-waf Make a thorough testing for a WAF/IPS/IDS protection
|
||||
--mobile Imitate smartphone through HTTP User-Agent header
|
||||
--offline Work in offline mode (only use session data)
|
||||
--purge-output Safely remove all content from output directory
|
||||
--purge Safely remove all content from sqlmap data directory
|
||||
--skip-waf Skip heuristic detection of WAF/IPS/IDS protection
|
||||
--smart Conduct thorough tests only if positive heuristic(s)
|
||||
--sqlmap-shell Prompt for an interactive sqlmap shell
|
||||
|
@ -2331,18 +2331,18 @@ Switch: `--offline`
|
|||
|
||||
By using switch `--offline` sqlmap will use only previous session data in data enumeration. This basically means that there will be zero connection attempts during such run.
|
||||
|
||||
### Safely remove all content from output directory
|
||||
### Safely remove all content from data directory
|
||||
|
||||
Switch `--purge-output`
|
||||
Switch `--purge`
|
||||
|
||||
In case that user decides to safely remove all content from `output` directory, containing all target details from previous sqlmap runs, he can use switch `--purge-output`. While purging, all files from (sub)directories in folder `output` will be overwritten with random data, truncated, renamed to random names, (sub)directories will be renamed to random names too, and finally the whole directory tree will be deleted.
|
||||
In case that user decides to safely remove all content from sqlmap's data directory (e.g. `$HOME/.sqlmap`), containing all target details from previous sqlmap runs, he can use switch `--purge`. While purging, all files from (sub)directories in data folder will be overwritten with random data, truncated, renamed to random names, (sub)directories will be renamed to random names too, and finally the whole directory tree will be deleted.
|
||||
|
||||
Example run:
|
||||
|
||||
```
|
||||
$ python sqlmap.py --purge-output -v 3
|
||||
$ python sqlmap.py --purge -v 3
|
||||
[...]
|
||||
[xx:xx:55] [INFO] purging content of directory '/home/user/sqlmap/output'...
|
||||
[xx:xx:55] [INFO] purging content of directory '/home/user/sqlmap'...
|
||||
[xx:xx:55] [DEBUG] changing file attributes
|
||||
[xx:xx:55] [DEBUG] writing random data to files
|
||||
[xx:xx:55] [DEBUG] truncating files
|
||||
|
|
Loading…
Reference in New Issue
Block a user