Development Skills
  • Development Skills
  • Server-side
    • Reverse SSH
    • Let's encrypt with Nginx
    • Miniconda
    • OpenSSL
    • Windows Skills
    • Crobtab
  • Set up Workspace
    • Setup basic environment
  • Bandit - Check your code's safeness
    • Introduction
    • Getting Started
    • Usage
    • Banditfile
    • Tailor-made testing
    • Tailor-made blacklist
    • Tailor-made formatter
    • Reference
Powered by GitBook
On this page
  1. Bandit - Check your code's safeness

Getting Started

Just pip install bandit and go to the folder which contains the project's directory then run:

bandit -r <projectname> -f csv -o outputfile

-f stands for file type. Here I use csv as and example.

-r stands for recursive. Bandit will recursively search inside the whole project and check for the invulnerability of all Python files.

-o stands for output file name.

PreviousIntroductionNextUsage

Last updated 6 years ago