Skip to content

zhangjiannan/Grayshell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Grayshell

Some basic shell code, when I learn <Gray Hat Hacking>

#How to run

##Example1 : Buffer_overflow //notice we start out at user privileges "$"

gcc overflow.c -ggdb -mpreferred-stack-boundary=2 -fno-stack-protector -o overflow
$gdb -g overflow 
(gdb) run
(gdb) info req eip
(gdb) q

##Example2 : Meet.c //notice we start out at user privileges "$"

gcc meet.c -ggdb -mpreferred-stack-boundary=2 -fno-stack-protector -z execstack -o meet
$gdb -g overflow 
(gdb) run
(gdb) info req eip
(gdb) q

About

Some basic shell code, when I learn <Gray Hat Hacking>

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages