asm started
This commit is contained in:
@@ -0,0 +1,33 @@
|
|||||||
|
xtensa-esp32-elf-as --warn --fatal-warnings first.s -o first.o
|
||||||
|
xtensa-esp32-elf-objdump -d second.o
|
||||||
|
|
||||||
|
second.o: file format elf32-xtensa-le
|
||||||
|
|
||||||
|
|
||||||
|
Disassembly of section .text:
|
||||||
|
|
||||||
|
00000000 <_start>:
|
||||||
|
0: 000021 l32r a2, fffc0000 <_start+0xfffc0000>
|
||||||
|
3: 0002a0 jx a2
|
||||||
|
|
||||||
|
jx-addr.o: file format elf32-xtensa-le
|
||||||
|
|
||||||
|
|
||||||
|
Disassembly of section .text:
|
||||||
|
|
||||||
|
00000000 <_start>:
|
||||||
|
0: f03d nop.n
|
||||||
|
2: f03d nop.n
|
||||||
|
4: f03d nop.n
|
||||||
|
6: 000021 l32r a2, fffc0008 <_start+0xfffc0008>
|
||||||
|
9: 0002a0 jx a2
|
||||||
|
c: f03d nop.n
|
||||||
|
e: f03d nop.n
|
||||||
|
10: f03d nop.n
|
||||||
|
|
||||||
|
|
||||||
|
nop.n
|
||||||
|
\xF0\x3D
|
||||||
|
|
||||||
|
full sequence:
|
||||||
|
\xF0\x3D\xF0\x3D\xF0\x3D\x00\x00\x21\xF0\x3D\xF0\x3D\xF0\x3D
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
xtensa-esp32-elf-as --warn --fatal-warnings first.s -o first.o
|
||||||
|
xtensa-esp32-elf-objdump -d second.o
|
||||||
Binary file not shown.
@@ -0,0 +1,2 @@
|
|||||||
|
_start:
|
||||||
|
j 400011a0
|
||||||
Binary file not shown.
@@ -0,0 +1,9 @@
|
|||||||
|
_start:
|
||||||
|
nop
|
||||||
|
nop
|
||||||
|
nop
|
||||||
|
l32r a2, 400011a0
|
||||||
|
jx a2
|
||||||
|
nop
|
||||||
|
nop
|
||||||
|
nop
|
||||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,9 @@
|
|||||||
|
|
||||||
|
second.o: file format elf32-xtensa-le
|
||||||
|
|
||||||
|
|
||||||
|
Disassembly of section .text:
|
||||||
|
|
||||||
|
00000000 <_start>:
|
||||||
|
0: 000021 l32r a2, fffc0000 <_start+0xfffc0000>
|
||||||
|
3: 0002a0 jx a2
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
_start:
|
||||||
|
l32r a2, 400011a0
|
||||||
|
jx a2
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
_start:
|
||||||
|
l32r a2, 400011a0
|
||||||
|
jx a2
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
number=2
|
number=0
|
||||||
tag=incremental-overrun-nullbyte
|
tag=full-fuzz
|
||||||
blocks=32
|
blocks=100
|
||||||
blocksize=1M
|
blocksize=1M
|
||||||
dumpsize=32M
|
dumpsize=100M
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -15,7 +15,7 @@ block=/dev/$disk
|
|||||||
|
|
||||||
timestamp=$(date "+%d%m%Y-%H.%M.%S-%Z")
|
timestamp=$(date "+%d%m%Y-%H.%M.%S-%Z")
|
||||||
|
|
||||||
filename="/home/kali/marauderexploitdev/imgs/${number}-${tag}-${dumpsize}-${timestamp}.img"
|
filename="./imgs/${number}-${tag}-${dumpsize}-${timestamp}.img"
|
||||||
|
|
||||||
echo -e "\nWriting to ${filename}"
|
echo -e "\nWriting to ${filename}"
|
||||||
sudo dd if=$block of=$filename bs=$blocksize count=$blocks status=progress conv=fdatasync
|
sudo dd if=$block of=$filename bs=$blocksize count=$blocks status=progress conv=fdatasync
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user