can someone tell me where exactly am I supposed to inject this code in index.php file?
failed to bind to 4444 indicates that the port is in use
jobs from the meterpreter session, but its a command defined in the framework - call it after suspending the session
if you just want to add the iframe youll have to put it somewhere between
</body> without breaking other tags
but the code you showed was php, so it inherently must be called from within
<?php (or just
yeah I had figured this out …just had to look at the bottom of the contents of the file
thats because there is a job running on that port, I called jobs once again after putting the session in background but I guess that didnt work either…I will reset the lab and perform it all over again then get back to u, thx for the help…r u on the unofficial discord server?
i’m not, but the problem is probably not with the lab but with your metasploit session…
maybe its enough to restart it
Forgot to share…I had taken this scrsht earlier in the day while I was on the lab environment…had done jobs…but still didn’t fetch anything
I looked it up, seems that I didnt get a shell either. Could you try