antSword Documentation

中国蚁剑是一款跨平台的开源网站管理工具。AntSword is a cross-platform website management toolkit.

4,738 stars JavaScript JavaScript 91 files · ~126,252 tokens #antsword
RAW Doc

File: README.md

AntSword [][url-release]

AntSword in your hands, no worries in your mind!

AntSword is an open source, cross-platform website administration tool, being designed to meet the needs of penetration testers together with security researchers with permissions and/or authorizations as well as webmasters.

Anyone shall not use it for illegal purposes and profitability. Besides that, publishing unauthorized modified version is also prohibited, or otherwise bear legal responsibilities.

This software, of which the development thought is modularization, is intended to provide easy-to-understand codes and modification guidelines for users of different levels. Therefore, any contribution making by everyone to this project is encouraged, whether large or small. By doing so, this tool can be more convenient and consequently become your most powerful kit!

中文说明 / Document / Changelog

Development stack

  • And other libraries called in the project.

Screenshots

More Screenshots




Quick Start

See document: Quick Start

Contribute

See document: Make contributions to AntSword

Thanks

Thanks to anyone who made any contributions.

Other

antSword has joined 404Team 404StarLink 2.0 - Galaxy

LICENSE

LICENSE


File: package.json

{
"name": "antsword",
"version": "2.1.16",
"description": "中国蚁剑是一款跨平台的开源网站管理工具",
"main": "app.js",
"dependencies": {
"crypto-js": "3.1.9-1",
"extract-zip": "1.6.7",
"geoips": "0.0.1",
"iconv-lite": "0.4.23",
"jschardet": "1.6.0",
"marked": "0.6.2",
"nedb": "1.5.1",
"node-rsa": "1.0.5",
"random-fake-useragent": "0.1.0",
"superagent": "6.1.0",
"superagent-proxy": "3.0.0",
"tar": "4.4.18",
"through": "2.3.8",
"ws": "6.2.2",
"mime": "2.6.0",
"xml2js": "0.4.23"
},
"scripts": {
"start": "AntSword app.js",
"build": "npm start"
},
"author": "antoor",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/AntSwordProject/AntSword"
},
"update": {
"md5": "",
"logs": "",
"sources": {
"github": "https://github.com/AntSwordProject/antSword/releases/latest"
}
},
"bugs": {
"url": "https://github.com/AntSwordProject/AntSword/issues"
},
"homepage": "https://github.com/AntSwordProject/AntSword/"
}


File: README_CN.md

[Binary file]


File: source/core/README.md

中国蚁剑核心模块1.0

开写:2016/04/12
更新:2016/04/24

AntSword-Core是中国蚁剑中最核心的一个模块,它的作用在于根据模板进行自由地增加修改HTTP请求数据,然后返回给用户最终生成的HTTP包数据。
这样用户就能将它集成在任意支持的地方了。

模块所需参数

参数名 说明
pwd shell连接密码(必选
encode 数据编码格式(可选,默认utf8
encoder 脚本模块编码器(可选,默认default

File: source/core/custom/README.md

AntSword Custom API

Base

Code Function Param
A info {}
Z probedb {}

FileManager

Code Function Param
B dir {"z1": "path"}
C read_file {"z1": "path"}
D creat_file {"z1": "path", "z2": "content"}
E delete {"z1": "path"}
F download_file {"z1": "path"}
H copy {"z1": "path", "z2": "target"}
I rename {"z1": "path", "z2": "name"}
K retime {"z1": "path", "z2": "time"}
J mkdir {"z1": "path"}
L wget {"z1": "url", "z2": "path"}
U upload_file {"z1": "path", "z2": "buffer::content"}
G filehash {"z1": "path"}

Command

Code Function Param
M exec {"z1": "bin", "z2": "cmd", "z3": "env"}
Y listcmd {"z1": "binarr"}

Database

Code Function Param
N show_databases {"z0": "encode", "z1": "conn"}
O show_tables {"z0": "encode", "z1": "conn", "z2": "db"}
P show_columns {"z0": "encode", "z1": "conn", "z2": "db", "z3": "table"}
Q query {"z0": "encode", "z1": "conn", "z2": "sql"}

File: source/core/jsp/decoder/README.md

AntSword-JSP-Decoder

More at: https://github.com/AntSwordProject/AntSword-JSP-Decoder

Ver: 9cfe1ce


File: source/core/jsp/template/README.md

AntSword-JSP-Template

More at: https://github.com/AntSwordProject/AntSword-JSP-Template

Version: 1.7-6def23


File: source/core/jspraw/decoder/README.md

AntSword-JSP-Decoder

More at: https://github.com/AntSwordProject/AntSword-JSP-Decoder


File: source/core/pswindows/template/database/README.md

ADO.NET code examples

https://docs.microsoft.com/en-us/dotnet/framework/data/adonet/ado-net-code-examples


File: source/modules/viewsite/README.md

浏览网站模块

用于浏览目标站点,从而进行一些登陆操作(自动设置cookie等登陆信息

实现思路

  1. 打开一个浏览窗口,访问站点域名
  2. 创建一个tabbar,用于管理cookie
  3. 关闭浏览窗口,tabbar会随时刷新cookie的改动,然后显示到UI中
  4. 保存cookie,关闭tabbar(将会把Cookie内容设置为请求的Header.Cookie

File: source/ui/README.md

中国蚁剑::UI框架库

用于在插件、扩展以及自身模块中调用。

本UI框架基于dhtmlx进行二次封装API
开发者可以采用原生框架API进行开发,也可以使用本UI框架进行开发。

原生API文档:http://docs.dhtmlx.com/


File: static/libs/dhtmlx/skins/mytheme/readme.txt

To change your skin please follow the link:
http://dhtmlx.com/docs/products/skinBuilder/index.shtml#d9cd0fa633


File: static/libs/dhtmlx/skins/mytheme/imgs/dhxvault_skyblue/icons_licence.txt

These icons are licensed under a Creative Commons Attribution 3.0 License
http://fatcow.com/


File: static/libs/laydate/README.md

[Binary file]


File: static/libs/layer/README.md

简要

layer是一款近年来口碑非常不错的web弹层组件,她具备全方位的解决方案,致力于服务各个水平段的开发人员,您的页面会轻松地拥有丰富友好的操作体验。

在与同类组件的比较中,layer总是能轻易获胜。她尽可能地在以更少的代码展现更强健的功能,且格外注重性能的提升、易用和实用性,正因如此,越来越多的开发者将媚眼投上了layer。layer兼容了包括IE6在内的所有主流浏览器。 她数量可观的接口,使得您可以自定义太多您需要的风格,每一种弹层模式各具特色,皆广受欢迎。当然,这种“王婆卖瓜”的陈述听起来总是有点难受,因此你需要进一步了解她是否真的如你所愿。

文档与演示

愿景

致力于打造国内最盛行的弹层组件,为web开发提供强劲动力。

现状

从两年前初出茅庐,到后来成为小众组件,再发展到今天,已为数以万计的人所熟知。
据不完全统计,截至到2015年09月01号,layer已服务于10万余家web平台。

备注

官网、更新日志、社区交流


File: static/libs/layer/bower.json

{
"name": "layer",
"main": "src/layer.js",
"version": "2.1.0",
"homepage": "https://github.com/sentsin/layer",
"authors": [
"sentsin [email protected]"
],
"description": "弹窗组件",
"moduleType": [
"amd",
"globals"
],
"keywords": [
"layer",
"layui",
"dialog"
],
"license": "LGPL"
}


File: static/libs/layer/CHANGELOG.md

[Binary file]


File: static/libs/layer/package.json

{
"name": "layer",
"version": "2.1",
"mobile": "1.7",
"description": "弹层组件",
"main": "",
"scripts": {
"test": "echo "Error: no test specified" && exit 1"
},
"repository": {
"type": "",
"url": ""
},
"author": "贤心",
"homepage": "http://layer.layui.com/",
"devDependencies": {
"grunt": "",
"grunt-contrib-uglify": "
",
"grunt-contrib-cssmin": "",
"grunt-css": "
"

text
}

}


File: static/libs/layer/mobile/README.md

layer mobile

layer mobile是为移动设备(手机、平板等webkit内核浏览器/webview)量身定做的弹层支撑,采用Native JavaScript编写,完全独立于PC版的layer,您需要按照场景选择使用。

文档与演示

  1. 无需依赖任何库,只加载layer.m.js即可
  2. 小巧玲珑,性能卓越、柔情似水…
  3. 具备无以伦比的自适应功能
  4. 灵活的皮肤自定义支撑,充分确保弹层风格多样化
  5. 丰富、科学的接口,让弹弹弹层无所不能

备注

官网、有问必答


File: static/libs/layer/src/README.md

源码

开发版源码随时可能会提交,因此生产环境更建议使用外面根目录压缩后的js。


File: static/libs/layer/src/mobile/README.md

layer mobole

layer mobile是为移动设备(手机、平板等webkit内核浏览器/webview)量身定做的弹层支撑,采用Native JavaScript编写,完全独立于PC版的layer,您需要按照场景选择使用。

文档与演示

  1. 无需依赖任何库,只加载layer.m.js即可
  2. 小巧玲珑,性能卓越、柔情似水…
  3. 具备无以伦比的自适应功能
  4. 灵活的皮肤自定义支撑,充分确保弹层风格多样化
  5. 丰富、科学的接口,让弹弹弹层无所不能

备注

官网、有问必答


File: .github/ISSUE_TEMPLATE.md

[Binary file]