View Convert-BinaryToBase64String.ps1
This file contains 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
function Convert-BinaryToBase64String { | |
[CmdletBinding()] param ( | |
[string] $FilePath | |
) | |
try { | |
$ByteArray = [System.IO.File]::ReadAllBytes($FilePath); | |
} | |
catch { | |
throw "Failed to read file. Ensure that you have permission to the file, and that the file path is correct."; |
View CORS-PoC
This file contains 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> | |
<head> | |
<title>CORS PoC</title> | |
<script language="JavaScript"> function date(){var date = new Date(); document.getElementById("date").innerHTML = date;}</script> | |
</head> | |
<!-- GUI --> | |
<body onload="cors(); date();"> | |
<h1>Pentest Factory GmbH CORS PoC</h1> | |
<table align="left" style="position: absolute; border-spacing: 15px"> |
View xerox-6515.ppd
This file contains 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
*PPD-Adobe: "4.3" | |
*% Adobe Systems PostScript(R) Printer Description File | |
*% Copyright 2009-2010 Xerox Corporation. | |
*FileVersion: "5.519.0.0" | |
*FormatVersion: "4.3" | |
*LanguageEncoding: ISOLatin1 | |
*LanguageVersion: German |