رفتن به مطلب
بازگشایی انجمن! ×
GuardIran

اجرای پایتون در cmd ویندوز


mehdininja

پست های پیشنهاد شده

سلام

اینو چجوری از طریق cmd ویندوز اجرا کنم ؟

This is the hidden content, please

لینک به دیدگاه
به اشتراک گذاری در سایت های دیگر


اگه روی ویندوز پایتون رو نصب کرده باشید میتونید از طریق آموزشی که خود فرد گذاشته استفاده کنید

 

How to use

First of all, you need to markdown your orignal VBA to indicate the script what you want to obfuscate/randomize or not :

All VBA strings are encrypted by default. Moreover, you can exclude encryption of one string by adding an exclude mark ([!!]) at the end of the string. Example :

String_Encrypted = "This string will be encrypted" String_Not_Encrypted = "This string will NOT be encrypted[!!]"

Mark [rdm::x] before a variable or function name will randomize it with a x chars string, Example :

Function [rdm::10]Test() '=> Test() will become randomized with a 10 characters string [rdm::4]String_1 = "Test" '=> String_1 wil lbecome randomized with a 4 characters string

Mark [var::var_name] will included the string string_to_hide('var_name') from const.py in a encrypted way in the VBA. With that, you can generate string from your python file and include it directly in your VBA (DGA codding for example).

Path_to_save_exe = [var::path] '=> string_to_hide("path") will be encrypted and put in the final VBA

Git clone and customize const.py to fit your need, you have to indicate at least :

template_file = r"C:\tmp\Vbad\Example\Template\template.doc" # The path to the template Office document you want to use to generate your files filename_list = r"C:\tmp\Vbad\Example\Lists\filename_list.txt" #The path to the file that contains a list of different filenames you want to use for your generated files path_gen_files = r"C:\tmp\Vbad\Example\Results" # Path where your generated Office documents will be saved original_vba_file = r"C:\tmp\Vbad\Example\Orignal_VBA\original_vba.vbs" # The orignal VBA file you want to include, randomize and obfuscate in your malicious documents trigger_function_name = "Test" # Function that you want to auto_trigger (in your original_vba_file) string_to_hide = {"domain_name":"http://www.test.com", "path_to_save":r"C:\tmp\toto"} #Strings that you want to add in your

لینک به دیدگاه
به اشتراک گذاری در سایت های دیگر


درود به شما کاربر گرامی ;

قبل از اینکه شما بخواین یک سورس آماده رو اجرا کنید , نیاز دارید بدونید به چه زبانی نوشته شده ... 

خوب این اسکریپت به زبان پایتون نوشته شده و شما ظاهرا میخواید روی ویندوز اجراش کنید !‌

 میتونید از

This is the hidden content, please
نسخه مربوط به سیستم عاملتون رو دانلود کنید 

در هنگام نصب لطفا تیک ( Add python x.xx.xx to path ) رو بزنید که بتونید توی CMD به راحتی اجرا کنید

بعد از نصب برنامه مورد نظرتون رو از گیت هاب دانلود کنید و با استفاده از سی ام دی به دایرکتوری دانلود شده برید 
 

This is the hidden content, please

خب حالا شما کافیه برنامتون رو با یکی از این دستورات اجرا کنید :‌

This is the hidden content, please

 

لینک به دیدگاه
به اشتراک گذاری در سایت های دیگر


به گفتگو بپیوندید

هم اکنون می توانید مطلب خود را ارسال نمایید و بعداً ثبت نام کنید. اگر حساب کاربری دارید، برای ارسال با حساب کاربری خود اکنون وارد شوید .

مهمان
ارسال پاسخ به این موضوع...

×   شما در حال چسباندن محتوایی با قالب بندی هستید.   حذف قالب بندی

  تنها استفاده از 75 اموجی مجاز می باشد.

×   لینک شما به صورت اتوماتیک جای گذاری شد.   نمایش به صورت لینک

×   محتوای قبلی شما بازگردانی شد.   پاک کردن محتوای ویرایشگر

×   شما مستقیما نمی توانید تصویر خود را قرار دهید. یا آن را اینجا بارگذاری کنید یا از یک URL قرار دهید.

×
×
  • ایجاد مورد جدید...