GithubHelp home page GithubHelp logo

anthrax3 / htshells Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wireghoul/htshells

0.0 1.0 0.0 221 KB

Self contained htaccess shells and attacks

Home Page: http://www.justanotherhacker.com/projects.html

License: GNU General Public License v3.0

Shell 50.32% Perl 49.68%

htshells's Introduction

HTSHELLS - Self contained web shells and other attacks via .htaccess files.

Attacks are named in the following fashion, module.attack.htaccess and grouped
by attack type in directories. Pick the one you need and copy it to a new file
named .htaccess, check the file to see if it needs editing before you upload it.
Web shells executes commands from the query parameter c, unless the file states
otherwise.

== DOS/       # Denial of serive attacks
- apache.dos.htaccess
  Makes all requests return a 500 internal server error

- mod_rewrite.dos.htaccess
  Regular expression dos condition in mod_rewrite consumes a child process

== INFO/      # Information disclosure attacks
- mod_caucho.info.htaccess *untested*
  Server status binding for the mod_caucho Resin java server module

- mod_clamav.info.htaccess
  Clamav status page binding

- mod_info.info.htaccess
  Server info binding for Apache

- mod_ldap.info.htaccess *untested*
  Server status binding for the mod_ldap server module

- mod_perl.info.htaccess
  Display the mod_perl status page

- mod_php.info.htaccess
  Make all php pages show source instead of executing

- mod_status.info.htacces
  Server status binding for Apache


== SHELL/       # Interactive command execution
- mod_caucho.shell.htaccess *untested*
  JSP based web shell

- mod_cgi.shell.bash.htaccess
  Shell using bash under the cgi handler, Requires exec flag to be set on the htaccess file.

- mod_cgi.shell.windows.htaccess *untested*
  Gives shell through php.exe via apache cgi configuration directives

- mod_include.shell.htaccess
  Server Side Include based web shell

- mod_multi.shell.htaccess
  Multiple shells in one .htaccess file, one attack fits all approach

- mod_perl.shell.htaccess *incomplete*
  TODO

- mod_php.shell.htaccess
  PHP based web shell access via http://domain/path/.htaccess?c=command

- mod_php.shell2.htaccess
  Alternate method of invoking a php shell from .htaccess file

- mod_php.stealth.shell.htaccess
  PHP based stealth backdoor - see http://www.justanotherhacker.com/2011/12/writing-a-stealth-web-shell.html for tutorial

- mod_python.shell.htaccess

- mod_ruby.shell.htaccess

- mod_suphp.shell.htaccess

== TRAVERSAL/   # Directory traversal attacks
- mod_hitlog.traversal.htaccess
  Directory traversal attack via hitlog module tries to read /etc/passwd

- mod_layout.traversal.htaccess
  Directory traversal attack reads /etc/passwd


== ./           # Various attacks
- mod_auth_remote.phish.htaccess *untested*
  Forward basic auth credentials to server of your choice

- mod_badge.admin.htaccess
  mod_badge admin page binding

- mod_sendmail.rce.htaccess *untested*
  Executes commands configured in the .htaccess file by specifying path and arguments to "sendmail" binary

Wireghoul - http://www.justanotherhacker.com

htshells's People

Contributors

wireghoul 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.