Pythonモジュールを動かす場合、Pythonを起動させてimportする方法と、ターミナル上から直接「python モジュール名」とコマンドする方法があります。何となく使っていたこの動きですが、どういう仕組みになっているのか整理してみました。 ターミナル上から ...
In today’s digital age, there is a growing need for secure and efficient methods of transferring data. One such method is Base64 encoding, which is used extensively in digital communication and ...
Web APIとの連携や、フロントエンドから送られてくるデータを処理していると、一見すると無意味な英数字の羅列に遭遇することがあります。「iVBORw0KGgo...」のように延々と続く長い文字列。これこそが、画像やPDFなどのバイナリデータをテキスト形式で表現 ...
The Code can encode / obfuscate an python file (.py). It will not only obfuscate the input file but it will also add about 10 mb of random data, the python script will still work like usual but the ...
Here is an example of a Yara rule that could be used to detect a base64 encoded python reverse shell This rule will look for the strings "base64.b64decode" and "subprocess.Popen" in the scanned files, ...
Base64 is a popular binary to ASCII encoding scheme designed to reliably transfer binary data across channels that have limited support for various content types. This article goes over the basics of ...