Coder Social home page Coder Social logo

doytsujin / scary-strings Goto Github PK

View Code? Open in Web Editor NEW

This project forked from johnsaigle/scary-strings

0.0 1.0 0.0 54 KB

Anlayze source code for dangerous API calls and create report in csv format.

License: GNU General Public License v3.0

Python 100.00%

scary-strings's Introduction

๐Ÿ˜ฑ Scary Strings! ๐Ÿ˜ฑ

Flag potentially dangerous API calls in source code, a.k.a. lines containing scary strings from a security perspective!

Use this tool as a first step during a security audit on your web application's source code!

Flagged lines of code are written to a CSV file so you can track your audit progress!

The list of potentially dangerous API calls comes primarily from the Web Application Hacker's Handbook.

The basic lists from this book have been modified and augmented by adding function calls and other scary strings that I've found in my experience as well as from blog posts.

Usage

Make sure pipenv is installed.

Example 1: Scanning a PHP project for all dangerous function calls

pipenv run ./scary-strings php wordlists/php/all /path/to/php/project

Example 2: Scan a Python project for object serialization functions

pipenv run ./scary-strings python wordlists/python/object_serialization /path/to/python/project

Example 3: Scanning a project for dangerous function calls and problematic code comments

pipenv run ./scary_strings.py python wordlists/python/all --scan-comments=True --comment-wordlist=wordlists/comments/derogatory /path/to/python/project

Languages Currently Supported

  • PHP
  • Python (limited wordlists)

scary-strings's People

Contributors

johnsaigle avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.