All Projects → limithit → NginxExecute

limithit / NginxExecute

Licence: other
The NginxExecute module executes the shell command through GET POST and HEAD to display the result.

Programming Languages

c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to NginxExecute

Rtty
Access your terminal from anywhere via the web.
Stars: ✭ 2,434 (+5078.72%)
Mutual labels:  webshell
ecsgo
Provides an interactive prompt to connect to ECS Containers using the ECS ExecuteCommand API.
Stars: ✭ 30 (-36.17%)
Mutual labels:  execute
ch.vorburger.exec
Java library to launch external processes
Stars: ✭ 26 (-44.68%)
Mutual labels:  execute
Jspmaster Deprecated
一款基于webshell命令执行功能实现的GUI webshell管理工具,支持流量加密
Stars: ✭ 161 (+242.55%)
Mutual labels:  webshell
Exphub
Exphub[漏洞利用脚本库] 包括Webloigc、Struts2、Tomcat、Nexus、Solr、Jboss、Drupal的漏洞利用脚本,最新添加CVE-2020-14882、CVE-2020-11444、CVE-2020-10204、CVE-2020-10199、CVE-2020-1938、CVE-2020-2551、CVE-2020-2555、CVE-2020-2883、CVE-2019-17558、CVE-2019-6340
Stars: ✭ 3,056 (+6402.13%)
Mutual labels:  webshell
Webhook
webhook is a lightweight incoming webhook server to run shell commands
Stars: ✭ 7,201 (+15221.28%)
Mutual labels:  execute
Brutemap
Let's find someone's account
Stars: ✭ 113 (+140.43%)
Mutual labels:  webshell
Backdoor
A backdoor that runs on Linux and Windows
Stars: ✭ 36 (-23.4%)
Mutual labels:  execute
Findwebshell
findWebshell是一款基于python开发的webshell检测工具。
Stars: ✭ 246 (+423.4%)
Mutual labels:  webshell
shu-shell
Webshell Jumping Edition
Stars: ✭ 23 (-51.06%)
Mutual labels:  webshell
Php Backdoors
A collection of PHP backdoors. For educational or testing purposes only.
Stars: ✭ 2,034 (+4227.66%)
Mutual labels:  webshell
Sks
Security Knowledge Structure(安全知识汇总)
Stars: ✭ 205 (+336.17%)
Mutual labels:  webshell
SecurityNotFound
🐚 404 Page Not Found Webshell
Stars: ✭ 81 (+72.34%)
Mutual labels:  webshell
Wso Webshell
🕹 wso php webshell
Stars: ✭ 155 (+229.79%)
Mutual labels:  webshell
php-exec-command
Simple php command executor with param binding
Stars: ✭ 20 (-57.45%)
Mutual labels:  execute
Phpshell
php大马|php一句话|webshell|免杀过狗|渗透|黑客
Stars: ✭ 118 (+151.06%)
Mutual labels:  webshell
Execa
Process execution for humans
Stars: ✭ 4,318 (+9087.23%)
Mutual labels:  execute
Nginx-builder
A tool to build deb or rpm package of required Nginx version from the source code, with the ability to connect third-party modules. Nginx parameters are set in the yaml configuration file.
Stars: ✭ 143 (+204.26%)
Mutual labels:  nginx-module
chronoman
Utility class to simplify use of timers created by setTimeout
Stars: ✭ 15 (-68.09%)
Mutual labels:  execute
slopShell
the only php webshell you need.
Stars: ✭ 208 (+342.55%)
Mutual labels:  webshell

NginxExecute

Introduction

The NginxExecute module executes the shell command through GET and POST to display the result.

Configuration example:

location ... {
            ......
            command on;
        }
    worker_processes  2;
    events {
        worker_connections  1024;
    }
    http {
        include       mime.types;
        default_type  application/octet-stream;
        sendfile        on;
        keepalive_timeout  65;
        server {
            listen       80;
            server_name  localhost;
            location / {
                root   html;
                index  index.html index.htm;
                command on;
            }
            error_page   500 502 503 504  /50x.html;
            location = /50x.html {
                root   html;
            }
        }
    }

Usage: view-source:http://192.168.18.22/?system.run[command] or curl -g "http://192.168.18.22/?system.run[command]" The command can be any system command. The command you will want to use depends on the permissions that nginx runs with.

view-source:http://192.168.18.22/?system.run[ifconfig]

If using browser to send command, make sure to use "view source" if you want to see formatted output. Alternatively, you can also use some tools such as Postman, Fiddler.

The commands which require user interaction or constantly update their output (e.g. top) will not run properly, so do not file a bug for this.

Demo

Pump Demo Video

Installation

CentOS 7 and official Nginx stable

Simply install the official stable Nginx and extras YUM repository and you don't need to worry about compiling anything.

yum install http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm
yum install https://extras.getpagespeed.com/redhat/7/noarch/RPMS/getpagespeed-extras-7-0.el7.gps.noarch.rpm
yum install nginx nginx-module-execute

Add to your nginx.conf :

load_module modules/ngx_http_execute_module.so;

Other platforms. Option #1: Compile Nginx with module bundled

cd nginx-**version**
./configure --add-module=/path/to/this/NginxExecute
make
make install

Other platforms. Option #2: Compile dynamic module for Nginx

Starting from NGINX 1.9.11, you can also compile this module as a dynamic module, by using the --add-dynamic-module=PATH option instead of --add-module=PATH on the ./configure command line above. And then you can explicitly load the module in your nginx.conf via the load_module directive, for example,

    load_module /path/to/modules/ngx_http_execute_module.so;

This module is compatible with following nginx releases:

Author Gandalf [email protected]

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].