fix radare2 patch again

This commit is contained in:
Lucinda May Phipps 2021-08-21 08:12:40 +01:00 committed by GitHub
parent 7c7500140e
commit 13be2e3059
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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