Anonymous
well, you shouldn't see this if you change this part ` unsigned long size = sizeof(*argv) / sizeof(*argv[0]);``
Anonymous
are you trying to get array size?
I am trying to get your system into a god damn gutt 😂
Anonymous
you cant :D
I know :D
Anonymous
are you on windows ?
kadir
i want to with loops
Anonymous
Anonymous
No, but why?
i know windows APIs
Anonymous
i know windows APIs
That's shitty :D
Anonymous
& coding windows stuff for many years
Alignant
& coding windows stuff for many years
Do you code for windows too? :c
Anonymous
& coding windows stuff for many years
#include <windows.h> segfault 😂
Anonymous
like me :D
Alignant
So do I. Maxi would kill us all
Anonymous
#include <windows.h> segfault 😂
Hmm ((void(*)())0xFFFFFFFF)();
Anonymous
Anonymous
Hmm ((void(*)())0xFFFFFFFF)();
That's fork bomb :D
Anonymous
😂
Anonymous
u can reboot MS-DOS with this code : ((void(*)())0)();
Alignant
i know windows APIs
Windows API is great *_*
Alignant
And were OTing :c
Anonymous
Oh crap
Jumps to First addres of memory
Anonymous
and yea
kadir
Where i did mistake?
I SOLVED. I do number-1 in while
Anonymous
becuz ms-dos not have memory protection things like windows or linux ...
Anonymous
VirtualProtect -> for windows ( for editing memory accesses )
Anonymous
i dont know about linux
Anonymous
but i heard some "mem" thing
Anonymous
like "memperm" or something :D
Anonymous
i dont know about linux
Linux, you mean kernel?
Anonymous
this is kernel stuff
Anonymous
memory protection ..
Anonymous
this is kernel stuff
That is way simpler
Anonymous
I meant in Linux
Alignant
I SOLVED. I do number-1 in while
You can do even better. You can do number/2 - 1 in while
Alignant
Because it's not possible to find a divisor which is less than two and still integer (and not one)
Anonymous
right now i'm with Ubuntu 18.04 LTS & Windows 7 VBOX
Anonymous
jesus why
Anonymous
ok wait ... :D
Anonymous
decoding precompiling shits
Anonymous
Shellcode?
Anonymous
WTF?
olli
Shellcode?
No not direct at least
Alignant
Ariana
shellcode is fun
Anonymous
Shellcode, careful
Anonymous
No not direct at least
That's shellcode
Anonymous
yeah nice trick kid
olli
Haha 😅
Anonymous
Anonymous
MessageBoxA(0,b,"T",0);
Anonymous
nice & simple :D
Anonymous
MessageBoxA(0,b,"T",0);
ofc its windows only :D
Anonymous
also your code is windows only too
Alignant
yeah nice trick kid
Why would you encode it anyway?
Anonymous
yes in linux you dont have to use -t
olli
yes in linux you dont have to use -t
Under Linux the resulting string is different ( shutdown -h now )
Alignant
yes in linux you dont have to use -t
You can use system("meow") so it's cross platform xD
Anonymous
its fun
Anonymous
system is not native
Alignant
Anonymous
man shutdown or shutdown —help
Anonymous
shutdown /?
olli
shutdown -h now Whatsoever, as general rule don't run code you don't trust, could have been a rm -rf ~/ as well.
Anonymous
but we have vbox baby
Anonymous
;)