One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| Param( | |
| [Parameter(Mandatory, Position = 0)] | |
| [string]$HostDrive, | |
| [Parameter(Mandatory, Position = 1)] | |
| [string]$LocalDrive | |
| ) | |
| # Script to map a host drive inside a Windows Docker Server Container | |
| # You need to be an admin in the container for this to work. | |
| # Use as .\map_host_drive C: X: |
| #define SECURITY_WIN32 //Define First Before Imports. | |
| #include <windows.h> | |
| #include <stdio.h> | |
| #include <Sspi.h> //Be sure to reference secur32.lib in Linker | Input | Additional Dependencies | |
| FARPROC fpEncryptMessage; //Pointer To The Original Location | |
| BYTE bSavedByte; //Saved Byte Overwritten by 0xCC - |
| #include <windows.h> | |
| #include <stdio.h> | |
| FARPROC fpCreateProcessW; | |
| BYTE bSavedByte; | |
| // Blog Post Here: | |
| // https://0x00sec.org/t/user-mode-rootkits-iat-and-inline-hooking/1108 | |
| // tasklist | findstr explore.exe |
| # | |
| # TO-DO: set |DESTINATIONURL| below to be whatever you want e.g. www.google.com. Do not include "http(s)://" as a prefix. All matching requests will be sent to that url. Thanks @Meatballs__! | |
| # | |
| # Note this version requires Apache 2.4+ | |
| # | |
| # Save this file into something like /etc/apache2/redirect.rules. | |
| # Then in your site's apache conf file (in /etc/apache2/sites-avaiable/), put this statement somewhere near the bottom | |
| # | |
| # Include /etc/apache2/redirect.rules | |
| # |
| # Powershell script to bypass UAC on Vista+ assuming | |
| # there exists one elevated process on the same desktop. | |
| # Technical details in: | |
| # https://tyranidslair.blogspot.co.uk/2017/05/reading-your-way-around-uac-part-1.html | |
| # https://tyranidslair.blogspot.co.uk/2017/05/reading-your-way-around-uac-part-2.html | |
| # https://tyranidslair.blogspot.co.uk/2017/05/reading-your-way-around-uac-part-3.html | |
| # You need to Install-Module NtObjectManager for this to run. | |
| Import-Module NtObjectManager |