Take out the doublequotes:
system ('gnome-terminal', '-x', 'sh', '-c', 'sslstrip -a -k -l 8080 -w sslstrip.log');
The doublequotes caused the entire line to be treated as the name of the command, rather than a command followed by arguments.
However, you'll need to fork a child process and run this in there, since this runs in the foreground and system()
won't return until gnome-terminal
exits. You can't use &
with the multi-argument system()
syntax, because it doesn't run a shell, so shell metacharacters don't work.