GithubHelp home page GithubHelp logo

discuz-getshell-auto-method2's Introduction

Discuz 全自动 GetShell

本方法比写 config_ucenter.php 更加稳定,而且不易出错

用法

打开 dzhack.php, 找到

$webshell = '<?php phpinfo(); ?>';
 
list ($status, $data) = $dz->hack (
   'http://ubuntu64/dz/',
   'K856C548X2xaTcDdc248I1pc57gdq4vdL2SdH3ifGd4a0ec6UdcfX0B7m9Ubrcs4',
   ...
);

先把第一行 $webshell 的内容改了,不需要考虑编码问题,

然后修改 hack 函数的参数,第一个为 discuz 的起始路径,第二行为你找到的 UC_KEY

然后执行 php dzhack.php,

会在 data/client.php 下面生成一个 webshell,

![Screenshot] (https://raw.githubusercontent.com/CaledoniaProject/discuz-getshell-auto-method2/master/contrib/screenshot.png "Desktop screenshot")

觉得方便的话,可以顺便把参数改成 argv[1] 和 argv[2]

常见失败原因

  1. 新版 Dz 防御了 XSS,所以没法 POST XML
  2. 提示 Authentication Expired (DZ 拼错了),多试几次就好了,因为服务器时钟不一致导致的

Legal Disclaimer

Using this tool is legit but hacking may not be. The author does not take any responsibility for such activities.

这个工具是合法的,然而攻击他人服务器并不是合法的,作者对此不承担任何责任

discuz-getshell-auto-method2's People

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.