Jump to content

bypass admin admin password script...


fred x

Recommended Posts

I want to bypass the adm_userid and login script, just need it to work as is. the rest of the script calls these within...

 

ideas????

 

<? session_start();

if(!$_SESSION['adm_userid']) header("location:login.php");

require_once 'functions.php';

if(!dbcon()) die("Database connectivity Error");

$sec_id=($_POST['sec_id']?$_POST['sec_id']:$_GET['sec_id']);

 

$qry="select * from section where id='".$sec_id."'";

$rs=mysql_query($qry);

$rw=mysql_fetch_array($rs);

$sec_title=$rw['title'];

 

$qry="select * from

articles where id='".$_GET['id']."'";

$rs=mysql_query($qry);

$rw=mysql_fetch_array($rs);

?>

Link to comment
https://forums.phpfreaks.com/topic/209833-bypass-admin-admin-password-script/
Share on other sites

 

This script is in my way of trying to get the page to just load, is there a way to just fool it by entering a username and password automatically rather then going through this password script. ??  something like  adm_userid']) =="admin" password="go"

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.