fix radare2 patch again
This commit is contained in:
parent
7c7500140e
commit
13be2e3059
|
@ -27,7 +27,7 @@ diff -Nuar -ruN radare2-5.4.0/libr/socket/run.c radare2-5.4.0.mod/libr/socket/ru
|
|||
- } else {
|
||||
- exit (r_sys_cmd (p->_system));
|
||||
- }
|
||||
+ char *bin_sh = r_file_binsh ("sh");
|
||||
+ char *bin_sh = r_file_binsh ();
|
||||
+ exit (execl (bin_sh, bin_sh, "-c", p->_system, NULL));
|
||||
free (bin_sh);
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue