Linux ubuntu22 5.15.0-133-generic #144-Ubuntu SMP Fri Feb 7 20:47:38 UTC 2025 x86_64
nginx/1.18.0
: 128.199.27.159 | : 216.73.216.1
Cant Read [ /etc/named.conf ]
8.1.31
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
html /
amatya /
node_modules /
node-forge /
lib /
[ HOME SHELL ]
Name
Size
Permission
Action
aes.js
38.12
KB
-rw-r--r--
aesCipherSuites.js
8.92
KB
-rw-r--r--
asn1.js
41.06
KB
-rw-r--r--
baseN.js
4.95
KB
-rw-r--r--
cipher.js
6.51
KB
-rw-r--r--
cipherModes.js
27.94
KB
-rw-r--r--
debug.js
2.03
KB
-rw-r--r--
des.js
19.96
KB
-rw-r--r--
ed25519.js
21.69
KB
-rw-r--r--
forge.js
200
B
-rw-r--r--
form.js
3.79
KB
-rw-r--r--
hmac.js
3.74
KB
-rw-r--r--
http.js
38.55
KB
-rw-r--r--
index.all.js
366
B
-rw-r--r--
index.js
679
B
-rw-r--r--
jsbn.js
34.36
KB
-rw-r--r--
kem.js
5.09
KB
-rw-r--r--
log.js
8.96
KB
-rw-r--r--
md.all.js
251
B
-rw-r--r--
md.js
253
B
-rw-r--r--
md5.js
7.8
KB
-rw-r--r--
mgf.js
274
B
-rw-r--r--
mgf1.js
1.61
KB
-rw-r--r--
oids.js
5.88
KB
-rw-r--r--
pbe.js
30.27
KB
-rw-r--r--
pbkdf2.js
5.67
KB
-rw-r--r--
pem.js
6.3
KB
-rw-r--r--
pkcs1.js
8.18
KB
-rw-r--r--
pkcs12.js
32.57
KB
-rw-r--r--
pkcs7.js
38.35
KB
-rw-r--r--
pkcs7asn1.js
11.19
KB
-rw-r--r--
pki.js
2.59
KB
-rw-r--r--
prime.js
8.57
KB
-rw-r--r--
prime.worker.js
4.69
KB
-rw-r--r--
prng.js
12.06
KB
-rw-r--r--
pss.js
7.67
KB
-rw-r--r--
random.js
5.31
KB
-rw-r--r--
rc2.js
11.67
KB
-rw-r--r--
rsa.js
53.9
KB
-rw-r--r--
sha1.js
8.88
KB
-rw-r--r--
sha256.js
9.35
KB
-rw-r--r--
sha512.js
16.73
KB
-rw-r--r--
socket.js
8.13
KB
-rw-r--r--
ssh.js
7
KB
-rw-r--r--
task.js
19.32
KB
-rw-r--r--
tls.js
129.37
KB
-rw-r--r--
tlssocket.js
6.8
KB
-rw-r--r--
util.js
76.36
KB
-rw-r--r--
x509.js
100.2
KB
-rw-r--r--
xhr.js
21.57
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : pki.js
/** * Javascript implementation of a basic Public Key Infrastructure, including * support for RSA public and private keys. * * @author Dave Longley * * Copyright (c) 2010-2013 Digital Bazaar, Inc. */ var forge = require('./forge'); require('./asn1'); require('./oids'); require('./pbe'); require('./pem'); require('./pbkdf2'); require('./pkcs12'); require('./pss'); require('./rsa'); require('./util'); require('./x509'); // shortcut for asn.1 API var asn1 = forge.asn1; /* Public Key Infrastructure (PKI) implementation. */ var pki = module.exports = forge.pki = forge.pki || {}; /** * NOTE: THIS METHOD IS DEPRECATED. Use pem.decode() instead. * * Converts PEM-formatted data to DER. * * @param pem the PEM-formatted data. * * @return the DER-formatted data. */ pki.pemToDer = function(pem) { var msg = forge.pem.decode(pem)[0]; if(msg.procType && msg.procType.type === 'ENCRYPTED') { throw new Error('Could not convert PEM to DER; PEM is encrypted.'); } return forge.util.createBuffer(msg.body); }; /** * Converts an RSA private key from PEM format. * * @param pem the PEM-formatted private key. * * @return the private key. */ pki.privateKeyFromPem = function(pem) { var msg = forge.pem.decode(pem)[0]; if(msg.type !== 'PRIVATE KEY' && msg.type !== 'RSA PRIVATE KEY') { var error = new Error('Could not convert private key from PEM; PEM ' + 'header type is not "PRIVATE KEY" or "RSA PRIVATE KEY".'); error.headerType = msg.type; throw error; } if(msg.procType && msg.procType.type === 'ENCRYPTED') { throw new Error('Could not convert private key from PEM; PEM is encrypted.'); } // convert DER to ASN.1 object var obj = asn1.fromDer(msg.body); return pki.privateKeyFromAsn1(obj); }; /** * Converts an RSA private key to PEM format. * * @param key the private key. * @param maxline the maximum characters per line, defaults to 64. * * @return the PEM-formatted private key. */ pki.privateKeyToPem = function(key, maxline) { // convert to ASN.1, then DER, then PEM-encode var msg = { type: 'RSA PRIVATE KEY', body: asn1.toDer(pki.privateKeyToAsn1(key)).getBytes() }; return forge.pem.encode(msg, {maxline: maxline}); }; /** * Converts a PrivateKeyInfo to PEM format. * * @param pki the PrivateKeyInfo. * @param maxline the maximum characters per line, defaults to 64. * * @return the PEM-formatted private key. */ pki.privateKeyInfoToPem = function(pki, maxline) { // convert to DER, then PEM-encode var msg = { type: 'PRIVATE KEY', body: asn1.toDer(pki).getBytes() }; return forge.pem.encode(msg, {maxline: maxline}); };
Close