Skip to content

Instantly share code, notes, and snippets.

@cihansol
cihansol / bundle_structs.cs
Created August 9, 2021 11:29
Xamarin Bundle Structure
struct assembly_bundle_entry32
{
UInt32 bundleNamePtr;
UInt32 bundleGzDataPtr;
UInt32 bundleGzDataUncompressed;
UInt32 bundleGzDataCompressed;
};
struct assembly_bundle_entry64
{
using System;
using System.Text;
namespace Sample_Application
{
class Program
{
static readonly uint keyAHash = 0xc3a46917; //dotnetdecompile
static readonly uint keyBHash = 0xe033994c; //cihansol.com
static uint[] polynomialTbl = new uint[256];
@cihansol
cihansol / DeleteGoogleChromeManagedAdmin.bat
Created July 17, 2021 12:47
Removes the 'Managed by your organization' from Google Chrome and prevents persistence of HP Dynamic Audio
@echo off
rem Automates instructions from google found here https://support.google.com/chrome/a/answer/9844476?hl=en
rem Removes the 'Managed by your organization' from Google Chrome and prevents persistence
echo Make sure you have backed up your registry. Ready to go ahead?
pause
cls
echo Working...
echo Exiting Chrome (if running)
taskkill /f /im chrome.exe
if exist "C:\Program Files (x86)\Google\Policies" RMDIR /S /Q "C:\Program Files (x86)\Google\Policies"