function examples
Configs
conf/opts.yaml
- all scant3r options for add more options for scant3r
you can user it with scant3r by -c option $ ./scant3r.py -c txt,json
# now use both json and txt content-types
conf/help.yaml
- help menu so simple
all scant3r options from conf/opts.yml
to fetch option just add opts['OPTION']
for example opts['url']
run your module
$ echo 'http://google.com/' | python3 scant3r -m youmodulename
all scant3r functions
Data Parsing : scant3r/core/utils.py
import:
from scant3r.core.utils import YOUR_FUNC
function | Description | example |
---|---|---|
post_data | add string value to dictionary (for cookies,post/put parameters) | post_data('name=khaled&id=444') > {'name':'khaled','id':44} |
urlencoder | from plain text to url encoding |
|
extract_headers | add headers value to dictionary |
|
insert_after | Insert some string into given string at given index |
|
random_str | make random string value by length |
|
remove_dups | remove duplicated items from the list |
|
add_path | add path to your url |
|
insert_to_params_urls | add a string to url parameters |
|
insert_to_params | add parameters to url |
|
dump_request | dump http request |
|
dump_response | dump http response |
|
Options Parsing : core/libs/all/args.py
core/libs/all/args.py
args.py load all options from core/settings/opts.yaml
file
Colors: core/libs/all/colors.py
core/libs/all/colors.py
http requests: core/libs/all/requester.py
function | Description |
---|---|
Agent | get random user agents from |
http | send http requests module |
post_data
extractHeaders
urlencoder
insertAfter
Last updated