Jump to content
View in the app

A better way to browse. Learn more.

Tuts 4 You

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Can you convert batch to disassembler?

Featured Replies

Posted

Hello, Can you convert this cmd code to Disassembly code, thank you.

taskkill /IM notepad.exe /F

 

The entire source code to taskkill has leaked online with the recent Windows XP / Server 2003 / etc. leaks if your goal is to see what the program does in full.

https://github.com/bestbat/Windows-Server/blob/master/sdktools/cmdline/taskkill/parse.cpp

https://github.com/bestbat/Windows-Server/blob/master/sdktools/cmdline/taskkill/taskkill.cpp

 

https://github.com/PubDom/Windows-Server-2003/blob/master/sdktools/cmdline/taskkill/parse.cpp

https://github.com/PubDom/Windows-Server-2003/blob/master/sdktools/cmdline/taskkill/taskkill.cpp

 

Some of the leak is still up on GitHub, you can find the full thing elsewhere.

  • Author

No no, my purpose is completely different.

If there is a short code like "taskkill / IM notepad.exe / F" in assembly language, if-
I want to add that code to a code cave section in my.exe file with the help of the multiline ultimate assembler.

you need win32 api to do this. Either you translate the semantics of that shellcommand to win32 apis and implement that in assembly, like done here:

https://github.com/mmtechslv/killproc/blob/master/src/killproc.asm

Or you use the system() api (or shellexecute) and use that in your code:

https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/system-wsystem?view=msvc-160

system("taskkill / IM notepad.exe / F")

The latter seems to be what you are looking for...

Create an account or sign in to comment

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.