<commit_before>Grayshell
=========

Some basic shell code, when I learn &lt;Gray Hat Hacking>


#How to run 

###//notice we start out at user privileges "$"
```
gcc -ggdb -mpreferred-stack-boundary=2 -fno-stack-protector -o overflow
``` <commit_msg>add readme<commit_after>Grayshell
=========

Some basic shell code, when I learn &lt;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
```
{'fraction_non_alphanumeric': 0.15859766277128548, 'fraction_numerical': 0.005008347245409015, 'mean_word_length': 4.172413793103448, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3152842', 'n_tokens_mistral': 229, 'n_tokens_neox': 207, 'n_words': 69}