#TodayILearned
  • Intro
  • Mobile
    • ADB
    • Bundletool
    • Frida
    • Objection
    • Apktool
    • Patching Smali
    • jadx
    • Xamarin
    • Emulator
    • Correlium
  • Network
    • Bettercap
  • Red Team
    • Unicorn
    • Macros
    • Defense Evasion
      • Load shellcode from memory using Golang
      • Hershell
    • Initial Compromise
      • Password Spraying
  • Web
    • Burp
    • IIS
  • Pentest
    • Metasploit
    • sqlmap
    • Hashcat
  • Miscellaneous
  • Recon
  • Docker
    • GitHub
    • Pulling from an insecure registry
    • Exploring a Docker image
  • Recon
    • Aquatone
    • Censys
    • MassDNS
    • S3 buckets enumeration with ffuf
    • Shodan
  • Flutter
    • Privilege Escalation
  • SSTI
Powered by GitBook
On this page

Was this helpful?

  1. Mobile

Xamarin

PreviousjadxNextEmulator

Last updated 4 years ago

Was this helpful?

Reverse

Extract the DLLs then use ILSpy:

Step 1:

  • Mac) Install Visual Studio for Mac (). It has MonoDevelop, all .NET tools, a full IDE, etc...

  • Windows) Install Visual Studio or any other way to get the "dotnet" command line tool.

  • Linux) Get the "dotnet" command line tool.

Step 2:

Go to a Terminal prompt and type dotnet tool install ilspycmd -g to install the official ilspy command line version.

Global tools are installed in the following directories by default when you specify the -g or --global option:

OS

Path

Linux/macOS

$HOME/.dotnet/tools

Windows

%USERPROFILE%\.dotnet\tools

Step 3:

Read usage instructions here: . It is very simple. Most of the time you just run it with ilspycmd -p -o <folder> <dll file> to decompile to an output folder and make a buildable project file (that is what -p does).

Source:

http://visualstudio.microsoft.com/vs/mac/
https://github.com/icsharpcode/ILSpy/tree/master/ICSharpCode.Decompiler.Console
https://github.com/aerror2/ILSpy-For-MacOSX/issues/6
Decompressing Xamarin DLLsX41 D-SEC
Logo