You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wrote a bash script on my ubuntu server and I then compiled with shc which is later transferred to my checkpoint machine and trying to execute those codes and its not happening. I understand there will be binary and ldd compatible issues but wondering if anything such can be possible?
This is from my Ubuntu Machine
shc -rUHf test-script test-script
And this is from my firewall
[Expert@-MGMT-FW:0]# sh ./test-script
./test-script: ./test-script: cannot execute binary file
[Expert@-MGMT-FW:0]# bash ./test-script
./test-script: ./test-script: cannot execute binary file
[Expert@-MGMT-FW:0]# bash -x ./Operation not permitted
bash: ./Operation: No such file or directory
[Expert@-MGMT-FW:0]# Killed
-bash: Killed: command not found
[Expert@-MGMT-FW:0]# bash -x ./test-script
./test-script: ./test-script: cannot execute binary file
[Expert@-MGMT-FW:0]#
[Expert@MUM-MGMT-FW:0]# uname -a
Linux MUM-MGMT-FW 3.10.0-957.21.3cpx86_64 #1 SMP Sat Oct 17 13:32:58 IDT 2020 x86_64 x86_64 x86_64 GNU/Linux
Hi Team,
I wrote a bash script on my ubuntu server and I then compiled with shc which is later transferred to my checkpoint machine and trying to execute those codes and its not happening. I understand there will be binary and ldd compatible issues but wondering if anything such can be possible?
This is from my Ubuntu Machine
shc -rUHf test-script test-script
And this is from my firewall
[Expert@-MGMT-FW:0]# sh ./test-script
./test-script: ./test-script: cannot execute binary file
[Expert@-MGMT-FW:0]# bash ./test-script
./test-script: ./test-script: cannot execute binary file
[Expert@-MGMT-FW:0]# bash -x ./Operation not permitted
bash: ./Operation: No such file or directory
[Expert@-MGMT-FW:0]# Killed
-bash: Killed: command not found
[Expert@-MGMT-FW:0]# bash -x ./test-script
./test-script: ./test-script: cannot execute binary file
[Expert@-MGMT-FW:0]#
[Expert@MUM-MGMT-FW:0]# uname -a
Linux MUM-MGMT-FW 3.10.0-957.21.3cpx86_64 #1 SMP Sat Oct 17 13:32:58 IDT 2020 x86_64 x86_64 x86_64 GNU/Linux
ldd test-script
linux-vdso.so.1 => (0x00007ffd6efd3000)
libc.so.6 => /lib64/libc.so.6 (0x00007f09cb4ba000)
/lib64/ld-linux-x86-64.so.2 (0x00007f09cb88e000)
The text was updated successfully, but these errors were encountered: