Add fortunes.creepy

This commit is contained in:
pancake 2016-12-21 01:26:03 +01:00
parent 2b8d68121d
commit a8515ec1d8
4 changed files with 63 additions and 11 deletions

36
doc/fortunes.creepy Normal file
View File

@ -0,0 +1,36 @@
I know what you are doing.
You should better not go to sleep.
You look different when are you awake.
I like you because you haven't been infected. Yet
This is not a joke.
Drop the keyboard and RUN!
Follow the white rabbit
Any invalid command will remove a random file from your home.
Your hair smells different when you are not sleeping.
There was a picture in my phone of me sleeping. I live alone.
My sister says that mommy killed her. Mommy says that I don't have a sister.
Don't be scared of the monsters, just look for them.
Do not walk into the kitchen now.
There's someone under your bed awaiting.
There's no time for explanations.
I'm not looking at you. It's behind.
Let me just change these two bytes aaaaand, the .text is gone.
You will die before this analysis ends.
How much will you pay me for not disclosing this?
Procrastination is opportunity's assassin.
Are your front cameras duck taped?
You are alone.
Neither you or me are special.
Learn the lesson once and for all.
I wanted you to fill what I felt.
I don't believe in accidents.
This is somewhat traumatizing me.
I will never forget the day you typed a gdb command in me.
Be careful
Annhilation is not the way
The Game.
Why that face? Smile, at least for a second.
You are in a trouble. Don't look away
You are a strange creature
If they were going to kill you, would they knock?
This is what I hate most about guys like you. You didn't even try.

View File

@ -27,8 +27,11 @@ less stupid than putting CO2 in your ass.
Puritans, ruining everything since the 16th century.
Better fuck a watermelon.
Can you deal with an ascii penis?
two girls one endian
Two girls one endian
The Security Glory Hole
MY ENDIAN IS HUUUGE
enlarge your endian
anal jokes never get old
Enlarge your endian
Anal jokes never get old
Don't masturbate at me
I live for this shit
You gotta be fucking kidding me

View File

@ -80,3 +80,8 @@ For a full list of commands see `strings /dev/urandom`
Thanks for using radare2!
give | and > a try piping and redirection
Run .dmm* to load the flags of the symbols of all modules loaded in the debugger
Use V! to enter into the visual panels mode (dwm style)
Toggle between disasm and graph with the space key
The more 'a' you add after 'aa' the more analysis steps are executed.
Review all the subcommands of aa to see better ways to analyze your targets.
Use /m to carve for known magic headers. speedup with search.

View File

@ -594,30 +594,38 @@ eprintf ("WTF 'f .xxx' adds a variable to the function? ?!!?(%s)\n");
break;
case 'o':
{ // TODO: use file.fortunes // can be dangerous in sandbox mode
char *fortunes_tips = R2_PREFIX "/share/doc/radare2/fortunes.tips";
char *fortunes_fun = R2_PREFIX "/share/doc/radare2/fortunes.fun";
char *fortunes_nsfw = R2_PREFIX "/share/doc/radare2/fortunes.nsfw";
char *types = (char *)r_config_get (core->config, "cfg.fortunetype");
const char *fortunes_tips = R2_PREFIX "/share/doc/radare2/fortunes.tips";
const char *fortunes_fuun = R2_PREFIX "/share/doc/radare2/fortunes.fun";
const char *fortunes_nsfw = R2_PREFIX "/share/doc/radare2/fortunes.nsfw";
const char *fortunes_crep = R2_PREFIX "/share/doc/radare2/fortunes.creepy";
const char *types = (char *)r_config_get (core->config, "cfg.fortunetype");
char *line = NULL, *templine = NULL;
int i = 0;
if (strstr(types, "tips")) {
if (strstr (types, "tips")) {
templine = r_file_slurp_random_line_count (fortunes_tips, &i);
line = templine;
}
if (strstr(types, "fun")) {
templine = r_file_slurp_random_line_count (fortunes_fun, &i);
if (strstr (types, "fun")) {
templine = r_file_slurp_random_line_count (fortunes_fuun, &i);
if (templine) {
free (line);
line = templine;
}
}
if (strstr(types, "nsfw")) {
if (strstr (types, "nsfw")) {
templine = r_file_slurp_random_line_count (fortunes_nsfw, &i);
if (templine) {
free (line);
line = templine;
}
}
if (strstr (types, "creepy")) {
templine = r_file_slurp_random_line_count (fortunes_crep, &i);
if (templine) {
free (line);
line = templine;
}
}
if (line) {
r_cons_printf (" -- %s\n", line);
free (line);