Archived
1
0

Init project

This commit is contained in:
Sweet Bread
2022-11-06 13:51:51 +03:00
commit c163efd83d
32 changed files with 1110 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
format ELF
public _start
extrn network.IP_to_str
extrn network.get_ip
extrn dnstoys.myip
extrn print.str
extrn print.nl
extrn exit
section '.strtab'
hostname db "google.com", 0
section '.text' executable
_start:
call dnstoys.myip
call print.str
call print.nl
push hostname
call network.get_ip
call network.IP_to_str
call print.str
call print.nl
call exit