<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: 0sir1ss</title>
    <description>The latest articles on DEV Community by 0sir1ss (@0sir1ss).</description>
    <link>https://dev.to/0sir1ss</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F853315%2Fc2fded95-b2e5-4d72-b47a-b0d8a24b61f2.jpeg</url>
      <title>DEV Community: 0sir1ss</title>
      <link>https://dev.to/0sir1ss</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/0sir1ss"/>
    <language>en</language>
    <item>
      <title>Carbon - Python Renamer</title>
      <dc:creator>0sir1ss</dc:creator>
      <pubDate>Sat, 28 May 2022 20:45:43 +0000</pubDate>
      <link>https://dev.to/0sir1ss/carbon-python-renamer-4b0n</link>
      <guid>https://dev.to/0sir1ss/carbon-python-renamer-4b0n</guid>
      <description>&lt;h2&gt;
  
  
  🎯 About
&lt;/h2&gt;

&lt;p&gt;When looking around for python obfuscators, you might have found some like pyarmor, or pyminifier.&lt;br&gt;
But then there's one that does actually obfuscate the code which can't be reversed to the original source. You can find it &lt;a href="https://pyob.oxyry.com/"&gt;here&lt;/a&gt;, but there's just one small caveat.&lt;br&gt;
Purchasing it costs &lt;strong&gt;USD $1998&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Now that's not to say you can't use it for free, after all if you want to use it online it's free to use. But if you wish to use an offline cli version, well then you need to pay.&lt;/p&gt;

&lt;p&gt;This is where Carbon comes in. I decided to make my own version of the oxyry obfuscator which does the same job. It renames classes, functions, parameters and variables. It removes docstrings and comments and doesn't stick on a line number at the end of each line. But best of all, it isn't locked to Python 3.3-3.7.&lt;/p&gt;

&lt;h2&gt;
  
  
  ✨ Features
&lt;/h2&gt;

&lt;p&gt;✔️ Remove docstrings and comments&lt;br&gt;
✔️ Rename classes, functions, parameters and variables&lt;/p&gt;

&lt;h2&gt;
  
  
  🚀 Technologies
&lt;/h2&gt;

&lt;p&gt;The following tools were used in this project:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.python.org/"&gt;Python&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  ✅ Requirements
&lt;/h2&gt;

&lt;p&gt;Before starting, you need to have &lt;a href="https://www.python.org/"&gt;Python&lt;/a&gt; installed.&lt;/p&gt;

&lt;h2&gt;
  
  
  🏁 Starting
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Clone this project&lt;/span&gt;
&lt;span class="nv"&gt;$ &lt;/span&gt;git clone https://github.com/0sir1ss/Carbon

&lt;span class="c"&gt;# Access&lt;/span&gt;
&lt;span class="nv"&gt;$ &lt;/span&gt;&lt;span class="nb"&gt;cd &lt;/span&gt;Carbon

&lt;span class="c"&gt;# Run the project&lt;/span&gt;
&lt;span class="nv"&gt;$ &lt;/span&gt;python carbon.py
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Made with ❤️ by &lt;a href="https://github.com/0sir1ss"&gt;0sir1s&lt;/a&gt;&lt;/p&gt;

</description>
      <category>python</category>
      <category>programming</category>
      <category>showdev</category>
      <category>security</category>
    </item>
    <item>
      <title>Anubis - Python Obfuscator</title>
      <dc:creator>0sir1ss</dc:creator>
      <pubDate>Mon, 25 Apr 2022 21:35:03 +0000</pubDate>
      <link>https://dev.to/0sir1ss/anubis-python-obfuscator-2427</link>
      <guid>https://dev.to/0sir1ss/anubis-python-obfuscator-2427</guid>
      <description>&lt;p&gt;Project on github &lt;a href="https://github.com/0sir1ss/Anubis"&gt;here&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  🎯 About
&lt;/h2&gt;

&lt;p&gt;I was looking around online and github when I realised that there were little Python obfuscators. First there's &lt;a href="https://pypi.org/project/pyarmor/"&gt;pyarmor&lt;/a&gt; but that can be deobfuscated, however it still is quite good. Then there's many tools like &lt;a href="https://pypi.org/project/pyminifier/"&gt;pyminifier&lt;/a&gt; but they all do the same thing and don't provide any real protection against your code. Another good solution I found was this obfuscator &lt;a href="https://pyob.oxyry.com/"&gt;here&lt;/a&gt; but purchasing it costs &lt;strong&gt;USD $1998&lt;/strong&gt;. Luckily I made my own version named &lt;a href="https://github.com/0sir1ss/Carbon"&gt;Carbon&lt;/a&gt; which you can use for free.&lt;/p&gt;

&lt;p&gt;Anyways, I decided to create my own obfuscator, which provides a plethora of features such as junk code and custom encryption, and includes the obfuscation found in Carbon.&lt;/p&gt;

&lt;p&gt;You can see the difference it makes from this source &lt;a href="https://github.com/0sir1ss/Anubis/blob/main/example/script.py"&gt;here&lt;/a&gt; to this obfuscated one liner &lt;a href="https://github.com/0sir1ss/Anubis/blob/main/example/script-obf.py"&gt;here&lt;/a&gt; and you can see what Carbon does &lt;a href="https://github.com/0sir1ss/Carbon/blob/main/examples/script-obf.py"&gt;here&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  ✨ Features
&lt;/h2&gt;

&lt;p&gt;✔️ Anti Debugger - Stop the use of debuggers whilst this program is running&lt;br&gt;
✔️ Junk Code - Add junk code to the program&lt;br&gt;
✔️ Carbon Obfuscation - Rename classes, functions, variables and parameters along with removing comments and docstrings&lt;br&gt;
✔️ Custom Encryption - A one liner which uses custom encryption&lt;br&gt;
✔️ Compile to exe with Nuitka&lt;/p&gt;

&lt;h2&gt;
  
  
  🚀 Technologies
&lt;/h2&gt;

&lt;p&gt;The following tools were used in this project:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.python.org/"&gt;Python&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://pypi.org/project/Nuitka/"&gt;Nuitka&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  ✅ Requirements
&lt;/h2&gt;

&lt;p&gt;Before starting, you need to have &lt;a href="https://www.python.org/"&gt;Python&lt;/a&gt; installed.&lt;/p&gt;

&lt;p&gt;If you wish to compile your project to an exe you will need &lt;a href="https://pypi.org/project/Nuitka/"&gt;Nuitka&lt;/a&gt; along with a C compiler. Nuitka will automatically download the MinGW64 compiler if no usable one is found.&lt;/p&gt;

&lt;h2&gt;
  
  
  🏁 Starting
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Clone this project&lt;/span&gt;
&lt;span class="nv"&gt;$ &lt;/span&gt;git clone https://github.com/0sir1ss/Anubis

&lt;span class="c"&gt;# Access&lt;/span&gt;
&lt;span class="nv"&gt;$ &lt;/span&gt;&lt;span class="nb"&gt;cd &lt;/span&gt;Anubis

&lt;span class="c"&gt;# Install dependencies&lt;/span&gt;
&lt;span class="nv"&gt;$ &lt;/span&gt;pip &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;-r&lt;/span&gt; requirements.txt

&lt;span class="c"&gt;# Run the project&lt;/span&gt;
&lt;span class="nv"&gt;$ &lt;/span&gt;python anubis.py
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If you do not compile to an exe and instead choose to distribute with the custom encryption you will need the &lt;a href="https://github.com/0sir1ss/Anubis/blob/main/ancrypt.py"&gt;ancrypt file&lt;/a&gt;&lt;br&gt;
You can build this with the following command:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;python setup.py build_ext --inplace&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt; &lt;/p&gt;

&lt;p&gt;Made with ❤️ by &lt;a href="https://github.com/0sir1ss"&gt;0sir1s&lt;/a&gt;&lt;/p&gt;

</description>
      <category>python</category>
      <category>programming</category>
      <category>showdev</category>
      <category>security</category>
    </item>
  </channel>
</rss>
