doughnuts
  • 概要
  • 为什么选择Doughnuts?
  • 入门
  • 进阶
    • 通用命令
    • main界面命令
    • webshell界面命令
      • COMMON
      • SHELL
      • FILE
      • DETECT
      • DATABASE
      • OTHER
  • FAQ
  • 赞助
  • 使用演示
    • 场景一
    • 场景二
由 GitBook 提供支持
在本页
  1. 进阶
  2. webshell界面命令

COMMON

上一页webshell界面命令下一页SHELL

最后更新于5年前

这有帮助吗?

CtrlK

这有帮助吗?

命令

info

 ​
     info
 ​
     Show website information.
 ​

用于列出目标网站的一些信息,这些信息包括:

  • web根目录

  • 系统与内核版本

  • PHP版本

  • 中间件版本

  • php的open_basedir设置

ls / dir

 ​
    ls

    List information about the files.

    eg: ls {path=.} {mode=1}

    mode:
      - 1 : scandir
      - 2 : glob
    
    Command Args:
        -p,--path                   [str] path (Default: '.')

        -m,--mode                   [int] mode (Default: 1)

用于列出当前所在的webshell工作目录下的所有文件及其详细信息,其详细信息形式参考*unix下的ls -al。格式为ls {目标文件夹路径} {扫描模式}。

pdf

 ​
     pdf
 ​
     print disable_functions of website.
 ​

用于输出目标主机的disable_functions列表。

pwd

 ​
     pwd
 ​
     Print the name of the current working directory.
 ​

用于输出当前所在的webshell工作目录。

cd

 ​
     cd
 ​
     Change the working directory.
 ​
     eg: cd {directory=""}
 ​
     Command Args:
         --directory                 [str] directory (Default: '')
 ​

用于切换webshell工作目录。格式为cd {目标工作目录}。