trojan_id
variable ➊ that uniquely identifies this trojan. If you were to explode this technique out to a full botnet, you’d want the capability to generate trojans, set their ID, automatically create a configuration file that’s pushed to GitHub, and then compile the trojan into an executable. We won’t build a botnet today, though; I’ll let your imagination do the work.Now let’s put the relevant GitHub code in place.
] Let’s create a custom loading class now by adding the following code:.[] You can check out py2exe
here: .
[] An awesome explanation of this process written by Karol Kuczmarski can be found here: .