Skip to content

Commit

Permalink
Remove cmd_print_pwn and other easter eggs
Browse files Browse the repository at this point in the history
  • Loading branch information
officialcjunior authored and XVilka committed Mar 8, 2021
1 parent d1f772d commit b035033
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions librz/core/cmd_print.c
Original file line number Diff line number Diff line change
Expand Up @@ -2415,10 +2415,6 @@ RZ_API void rz_core_print_cmp(RzCore *core, ut64 from, ut64 to) {
free(b);
}

static void cmd_print_pwn(const RzCore *core) {
rz_cons_printf("easter egg license has expired\n");
}

static int cmd_print_pxA(RzCore *core, int len, const char *input) {
RzConsPrintablePalette *pal = &core->cons->context->pal;
int show_offset = true;
Expand Down Expand Up @@ -4891,9 +4887,7 @@ RZ_IPI int rz_cmd_print(void *data, const char *input) {
block = core->block;
switch (*input) {
case 'w': // "pw"
if (input[1] == 'n') {
cmd_print_pwn(core);
} else if (input[1] == 'd') {
if (input[1] == 'd') { // "pwd"
char *cwd = rz_sys_getdir();
if (cwd) {
rz_cons_println(cwd);
Expand Down Expand Up @@ -6828,9 +6822,6 @@ RZ_IPI int rz_cmd_print(void *data, const char *input) {
rz_cons_printf("\n");
}
break;
case 'n': // easter
eprintf("easter egg license has expired\n");
break;
case 't': // "pt"
switch (input[1]) {
case '.': {
Expand Down

0 comments on commit b035033

Please sign in to comment.