1
0

going to start messing with dnspacket.js, so I wanted to commit

Este cometimento está contido em:
Daplie 2017-01-18 17:07:21 -07:00
ascendente 7a2fc325ed
cometimento 28cfda23a6
3 ficheiros modificados com 4 adições e 0 eliminações

0
dig Ficheiro normal
Ver ficheiro

Ver ficheiro

@ -18,6 +18,8 @@ var SECTION_NAMES = [
];
var ALL_SECTION_NAMES = ['question'].concat(SECTION_NAMES);
// parses through the flags
function parseFlags(val, packet) {
packet.header.qr = (val & 0x8000) >> 15;
packet.header.opcode = (val & 0x7800) >> 11;

Ver ficheiro

@ -53,6 +53,8 @@ return binString;
var str = binaryAgent('01000001 01110010 01100101 01101110 00100111 01110100');
console.log(str);
parse
//translates to "Aren't"