Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 3.15.28.86
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
wb /
node_modules /
parseqs /
Delete
Unzip
Name
Size
Permission
Date
Action
LICENSE
1.05
KB
-rw-rw-r--
2022-08-30 11:49
Makefile
43
B
-rw-rw-r--
2022-08-30 11:49
README.md
86
B
-rw-rw-r--
2022-08-30 11:49
index.js
708
B
-rw-rw-r--
2022-08-30 11:49
package.json
458
B
-rw-rw-r--
2022-08-30 11:49
test.js
924
B
-rw-rw-r--
2022-08-30 11:49
Save
Rename
var assert = require('better-assert'); var expect = require('expect.js'); var util = require('./index.js'); describe('querystring test suite', function(){ it('should parse a querystring and return an object', function () { // Single assignment var queryObj = util.decode("foo=bar"); expect(queryObj.foo).to.be("bar"); // Multiple assignments queryObj = util.decode("france=paris&germany=berlin"); expect(queryObj.france).to.be("paris"); expect(queryObj.germany).to.be("berlin"); // Assignments containing non-alphanumeric characters queryObj = util.decode("india=new%20delhi"); expect(queryObj.india).to.be("new delhi"); }); it('should construct a query string from an object', function () { expect(util.encode({ a: 'b' })).to.be('a=b'); expect(util.encode({ a: 'b', c: 'd' })).to.be('a=b&c=d'); expect(util.encode({ a: 'b', c: 'tobi rocks' })).to.be('a=b&c=tobi%20rocks'); }); });