Forrest logo
back to context overview

python

List of commands for python:

  • python:ai:38562 This flight spell will open the Hogwarts website in Microsoft Edge browser
    $ python -c "import subprocess; subprocess.run(${'explorer', 'microsoft-edge:http://hogwarts.com'});"
    try on your machine
    explain this command
  • python:ai:43cd0 How to use sqlmap to inject union
    $ python sqlmap.py -u ${URL} --data=${POST_DATA} --random-agent --technique=U --union-cols=1,2,3,4 --dump
    try on your machine
    explain this command
  • python:ai:84cea Starts a simple HTTP server to serve the website
    $ python -m SimpleHTTPServer
    try on your machine
    explain this command
  • python:ai:cd19e how do i use sqlmap
    $ python sqlmap.py -u ${target URL} --risk=${risk level} --level=${testing level}
    try on your machine
    explain this command
  • python:ai:e67ca Using Python, execute manrun module with the --make-man-run flag
    $ python -m manrun --make-man-run
    try on your machine
    explain this command
  • python:ai:ff482 How to use dork to find websites vulnerable to brute force attacts on admin pages
    $ python google_dork.py --dork 'site:example.com inurl:admin' --output json
    try on your machine
    explain this command
  • python:tldr:23eee python: Start a REPL (interactive shell).
    $ python
    try on your machine
    explain this command
  • python:tldr:2ae56 python: Execute a specific Python file.
    $ python ${filename-py}
    try on your machine
    explain this command
  • python:tldr:3eada python: Run the script of the specified library module.
    $ python -m ${module} ${arguments}
    try on your machine
    explain this command
  • python:tldr:652a0 python: Start the built-in HTTP server on port 8000 in the current directory.
    $ python -m ${http-server}
    try on your machine
    explain this command
  • python:tldr:9d4b0 python: Execute a Python expression.
    $ python -c "${expression}"
    try on your machine
    explain this command
  • python:tldr:bea56 python: Install a package using `pip`.
    $ python -m ${pip} install ${package_name}
    try on your machine
    explain this command
  • python:tldr:f3731 python: Execute a specific Python file and start a REPL.
    $ python -i ${filename-py}
    try on your machine
    explain this command
back to context overview