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
// webcrack, a script that allows you to break webpack.js's sandbox and randomization easily | |
// made by @yourcompanionAI | |
// licensed under the trust that you will credit me for my work visibly and other than that you can go have fun with this | |
// window.wc is the webcrack object | |
// wc.get gives you the module attached to the id you give it. | |
// literally just what webpack functions use. not much to it | |
// this is the basic part of all this, everything else is just to allow you to updateproof your code | |
// both find functions return modules in this format: |
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 script installs the windows puppet agent on windows | |
# from the master's pe_repo by downloading it to C:\tmp first and then running | |
# msiexec on it from there. | |
$puppet_master_server = "master.example.com" | |
$msi_source = "https://${puppet_master_server}:8140/packages/current/windows-x86_64/puppet-agent-x64.msi" | |
$msi_dest = "C:\tmp\puppet-agent-x64.msi" | |
# Start the agent installation process and wait for it to end before continuing. |
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
# closure - defined by Peter Landin in 1964 | |
# closure - a function, plus a pointer to that functions scope | |
# In programming languages, closures (also lexical closures or function closures) are a technique for | |
# implementing lexically scoped name binding in languages with first-class functions. Duh. | |
# Operationally, a closure is a record storing a function[a] together with an environment:[1] | |
# A mapping associating each free variable of the function (variables that are used locally, but defined in an enclosing scope) | |
# with the value or storage location to which the name was bound when the closure was created. |