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
| #!/bin/bash | |
| # The following steps, which were tested on Ubuntu 18.04 LTS and on the Ubuntu-powered Linux for Windows Subsystem on Windows, | |
| # will: | |
| # | |
| # * Compile a recent version of OpenSSL (you can skip this step and use your package maintainer's version if you prefer, but you | |
| # might have to tweak a few bits) | |
| # * Create a separate set of configuration files suitable for configuring a basic CA capable of signing EV certificates | |
| # * Create such a CA (hackerca.local / HackerCA EV Root CA) | |
| # * Create a certificate request for a site, hackersite.local, belonging to company "Barclays PLC [GB]" |
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
| /* | |
| * A simple Windows 32-bit DLL injector | |
| * | |
| * Note that this does not attempt to be "stealthy". If you are | |
| * using this to inject hacks into games, prepare to be banned. | |
| * | |
| * To start a process and inject a DLL before main() is called: | |
| * CreateProcessWithDll("path/to/program.exe", "--program-args", "path/to/library.dll"); | |
| * | |
| * To inject a DLL into an already-running process: |
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
| package main | |
| import ( | |
| "fmt" | |
| "log" | |
| "net" | |
| "time" | |
| ) | |
| // Dialer . |
Moved to git repository: https://github.com/denji/golang-tls
# Key considerations for algorithm "RSA" โฅ 2048-bit
openssl genrsa -out server.key 2048
# Key considerations for algorithm "ECDSA" โฅ secp384r1
# List ECDSA the supported curves (openssl ecparam -list_curves)
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
| // Same with Twitter | |
| class TwitterStr | |
| { | |
| public TwitterStr(string url, int i1, int i2) | |
| { | |
| this.url = url; | |
| this.indices = new int[] { i1, i2 }; | |
| } |
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
| // Just before switching jobs: | |
| // Add one of these. | |
| // Preferably into the same commit where you do a large merge. | |
| // | |
| // This started as a tweet with a joke of "C++ pro-tip: #define private public", | |
| // and then it quickly escalated into more and more evil suggestions. | |
| // I've tried to capture interesting suggestions here. | |
| // | |
| // Contributors: @r2d2rigo, @joeldevahl, @msinilo, @_Humus_, | |
| // @YuriyODonnell, @rygorous, @cmuratori, @mike_acton, @grumpygiant, |
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
| <?xml version="1.0" encoding="utf-8" ?> | |
| <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
| <!-- | |
| Originally written by Daniel Chambers (http://www.digitallycreated.net) | |
| http://www.digitallycreated.net/Blog/61/combining-multiple-assemblies-into-a-single-exe-for-a-wpf-application | |
| --> | |
| <Target Name="EmbedReferencedAssemblies" AfterTargets="ResolveAssemblyReferences"> | |
| <ItemGroup> | |
| <!-- get list of assemblies marked as CopyToLocal --> | |
| <AssembliesToEmbed Include="@(ReferenceCopyLocalPaths)" Condition="'%(Extension)' == '.dll'"/> |
NewerOlder
