|
aa93508881
|
fix: decode of the compressed name
|
2023-07-04 13:12:45 +02:00 |
|
|
b87c8913fe
|
remove debug stuff, there is probably an issue somewhere in code, either in the parser or the name decompression, since i don't have the same result as in the tutorial, but i dont think its *that* bad
|
2023-07-04 11:05:40 +02:00 |
|
|
f6aaf8f84d
|
make it compatible with new changes
|
2023-07-04 10:50:15 +02:00 |
|
|
48589ff6e0
|
update debugging tests
|
2023-07-04 10:50:03 +02:00 |
|
|
0f5f4b8dc2
|
still kinda wip since i think this code isnt working
|
2023-07-04 10:49:55 +02:00 |
|
|
12e1ffffda
|
add a type for DNS
|
2023-07-04 10:49:37 +02:00 |
|
|
9cb058c7ac
|
increase the range of ok ascii
|
2023-07-04 10:06:31 +02:00 |
|
|
ef472a9ba3
|
don't ask for recursion
|
2023-07-04 09:41:06 +02:00 |
|
|
27bdb229d2
|
use my website since it have cname + a and its mine
|
2023-06-19 23:32:40 +02:00 |
|
|
e66106bbea
|
info
|
2023-06-19 23:27:03 +02:00 |
|
|
f66b956cc4
|
add lookup domain
|
2023-06-19 23:23:13 +02:00 |
|
|
07afc0afa5
|
add ip utils and print ip when its probably an IP adress in data field
|
2023-06-19 23:15:49 +02:00 |
|
|
231868e46d
|
keep the test with example.com
|
2023-06-19 22:52:45 +02:00 |
|
|
21a150b4bb
|
remove print debug
|
2023-06-19 22:52:24 +02:00 |
|
|
316ca90bb9
|
fix reader pointer issue
|
2023-06-19 22:52:01 +02:00 |
|
|
d745f3f0be
|
apply json fix only when printing dns packet
|
2023-06-19 22:51:52 +02:00 |
|
|
b9015b2c55
|
ask for json in dns_record
|
2023-06-19 22:33:05 +02:00 |
|
|
9ec05b3aba
|
fix issue with double backslash
|
2023-06-19 22:27:11 +02:00 |
|
|
9525c64917
|
WIP: parse dns packet
|
2023-06-19 21:52:39 +02:00 |
|
|
0166c01eba
|
json compatible for debugging
|
2023-06-19 20:44:32 +02:00 |
|
|
7cfb6f83ac
|
debug function now returns string instead of directly printing to stdout
|
2023-06-19 20:31:27 +02:00 |
|
|
10347ad517
|
type annotation
|
2023-06-19 20:30:47 +02:00 |
|
|
d4374ac2da
|
move reader to the top of the file
|
2023-06-19 20:10:00 +02:00 |
|
|
7ced5c1222
|
parse record
|
2023-06-19 20:03:27 +02:00 |
|
|
ae1c021d96
|
add int (4bytes) unpacker
|
2023-06-19 20:03:07 +02:00 |
|
|
eb7bb4e068
|
better print
|
2023-06-19 20:02:57 +02:00 |
|
|
e3f13fea3b
|
implement compression support
|
2023-06-19 19:38:35 +02:00 |
|
|
4c7f0a237a
|
i think its 2 bytes
|
2023-06-14 18:53:13 +02:00 |
|
|
121e93e0a0
|
detect the compressed stuff, actually returns bad data, but at least it doesnt crash, add the python code of the guide too so ik what i need to do
|
2023-06-14 18:52:17 +02:00 |
|
|
4951920f67
|
use of a reader so we always store the full data content when parsing response, using a pointer logic
|
2023-06-14 18:41:43 +02:00 |
|
|
7a5fd1e472
|
starting dns record parsing
|
2023-06-14 16:54:55 +02:00 |
|
|
bf337663df
|
factorization
|
2023-06-14 16:37:30 +02:00 |
|
|
98f2058da6
|
Add debugging stuff
|
2023-06-14 16:35:14 +02:00 |
|
|
278c9e5e17
|
use char_of_int
|
2023-06-14 16:35:03 +02:00 |
|
|
2fa8f1083b
|
parse the question
|
2023-06-14 16:34:49 +02:00 |
|
|
1e41cd5dde
|
arg name
|
2023-06-13 02:37:33 +02:00 |
|
|
e15431d04e
|
add parser header
|
2023-06-13 02:36:32 +02:00 |
|
|
d7c4b781c5
|
part 1 done!
|
2023-06-11 10:54:58 +02:00 |
|
|
ce7585ac6c
|
Add query building
|
2023-06-05 21:44:44 +02:00 |
|
|
6a7042fe6d
|
fix question issue
|
2023-06-05 21:44:29 +02:00 |
|
|
1e1ee73fbc
|
fix issue with the question to byte
|
2023-06-05 21:23:53 +02:00 |
|
|
b16cf6df7c
|
add a test
|
2023-06-05 20:46:02 +02:00 |
|
|
53668483bb
|
simplify question to bytes
|
2023-06-05 20:42:05 +02:00 |
|
|
a8bbd69b7e
|
split up files
|
2023-06-05 20:38:10 +02:00 |
|
|
f5458a4b8c
|
rename file for vscode
|
2023-06-05 20:27:32 +02:00 |
|
|
cd9fed4b99
|
run test (the same as the guide)
|
2023-06-05 19:57:20 +02:00 |
|
|
3f0cf9974e
|
add lib deps
|
2023-06-05 19:57:07 +02:00 |
|
|
a13c15214d
|
add dns_header, question, bytes to string, header and question to bytes and encode dns name
|
2023-06-05 19:56:59 +02:00 |
|
|
a89bc63dbb
|
readme!
|
2023-06-05 17:29:47 +02:00 |
|
|
91fb3744b8
|
initializa project
|
2023-06-05 17:28:44 +02:00 |
|