Κενό αρχείο του 1GB!




Ερώτηση

Μπορούμε να δημιουργήσουμε ένα κενό αρχείο του 1GB σε 9 γραμμές?

Απάντηση

ASSEMBLY!!!!!!! :)


.section .data
buffer:
          .fill 1000000000
.section .text
.globl _start
_start:
         movl $1,%eax
         movl $0,%ebx
          int $0x80


//Assembling,Linking

as -o test.o test.s
ld -o test test.o

//Έλεγχος του αρχείου
ls -l test

Μόλις δημιουργήσατε ένα αρχείο του 1GB :)

Comments

Popular posts from this blog

Unhide a Hidden GPO

Hiding Data Using White Space (Steganography)

Basic Pivoting with Cobaltstrike and Metasploit