mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 01:26:42 +03:00
Updated Usage (markdown)
parent
85bff47c1a
commit
c4e1c56005
4
Usage.md
4
Usage.md
|
@ -2384,14 +2384,14 @@ By using switch `--offline` sqlmap will use only previous session data in data e
|
|||
|
||||
Switch `--purge`
|
||||
|
||||
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.
|
||||
In case that user decides to safely remove all content from sqlmap's data directory (e.g. `$HOME/.local/share/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 -v 3
|
||||
[...]
|
||||
[xx:xx:55] [INFO] purging content of directory '/home/user/sqlmap'...
|
||||
[xx:xx:55] [INFO] purging content of directory '/home/testuser/.local/share/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