Skip to content

Pyscan - A fast malware scanner using ShellScannerPatterns

Notifications You must be signed in to change notification settings

bashcode/Pyscan

Repository files navigation

_____________  ____________________ _______
___  __ \_  / / /_  ___/  ___/  __ `/_  __ \
__  /_/ /  /_/ /_(__  )/ /__ / /_/ /_  / / /
_  .___/_\__, / /____/ \___/ \__,_/ /_/ /_/
/_/     /____/

Pyscan

Pyscan - A fast malware scanner using ShellScannerPatterns.

==

Version

  • 1.12

Supported Platforms

  • CentOS 5/6/7
  • CloudLinux 5/6/7
  • Redhat 5/6/7
  • Ubuntu and Debian - All versions.
  • Windows with https://msys2.github.io
  • cPanel - Plesk - Directadmin (other control panels not tested.)
  • Any cms.

Detection Example

https://raw.githubusercontent.com/bashcode/Pyscan/master/scan_example.png

Usage Linux

Options..

  • -c for current directory

  • -u for scan username

  • -p for custom path

  • --exclude for exclude custom dir

  • -D for debug mode

  • DETECT ONLY

python <(curl -ks https://raw.githubusercontent.com/bashcode/Pyscan/master/pyscan.py)
  • CLEAN MALWARE
python <(curl -ks https://raw.githubusercontent.com/bashcode/Pyscan/master/removeinjections.py)

Use rev hits.txt | cut -d: -f1 | rev to extract a list of files. Logs will always be found at ~/found_shells.log.

Usage Windows

Download, install, and run MSYS2
Run update-core to update the core packages.
Run pacman -S python2 python2-setuptools
For significantly faster scans, compile and install re2. Install the Pyton module with easy_install2.7 re2.
Use the function pyscan provided above.

About

Pyscan - A fast malware scanner using ShellScannerPatterns

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published