- I have to use a Windows client to install a certificate (say via the Magnum PKI Client)
- I cannot export the private key for this certificate
- I am a Linux user that needs to have the cert and private key
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
# | |
# Upload a sample to VirusTotal and pretty print the report. All in a handy alias. | |
# | |
# Dependecies: | |
# | |
# * python > 2.7 | |
# * pip install Pygments==1.4 | |
# * curl | |
# * VirusTotal API key | |
# |
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
# | |
# KMS Client Setup Keys: http://technet.microsoft.com/en-us/library/jj612867.aspx | |
# | |
#################################################################### | |
# Windows 8.1 Enterprise Evaluation ISO: | |
# @url: http://go.microsoft.com/fwlink/?LinkId=302161 | |
#################################################################### | |
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
brb@brb-VirtualBox:~/qt-everywhere-opensource-src-5.5.0$ ./configure -h | |
+ cd qtbase | |
+ /home/brb/qt-everywhere-opensource-src-5.5.0/qtbase/configure -top-level -h | |
Usage: configure [options] | |
Installation options: | |
These are optional, but you may specify install directories. | |
-prefix <dir> ...... The deployment directory, as seen on the target device. |
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
import sys | |
import subprocess | |
import csv | |
def describe_ucrt_lib(platform): | |
lib_path = "windows-10-sdk/Lib/10.0.10240.0/ucrt/{}/ucrt.lib".format(platform) | |
output = subprocess.check_output(["nm", lib_path]) | |
output = output.decode("utf-8") | |
# Output (x86 32-bit) looks like: |
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
#! /usr/bin/perl | |
# usage: ping 8.8.8.8 | tea.pl [-v] [-t] [FILE] | |
# -v = verbose | -t = prefix timestamp to output | FILE = output filename | |
use IO::Handle; | |
use Getopt::Long; | |
use Time::HiRes; | |
use POSIX; |
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
REM http://pempek.net/articles/2015/10/18/compiling-qt-5-5-1-with-visual-studio-2015/ | |
REM Set up \Microsoft Visual Studio 2015 | |
CALL "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64 | |
ECHO ON | |
SET _CD=%CD% | |
SET _PATH=%PATH% | |
SET ICU_SOURCE=%_CD%\tools\icu-54.1\source | |
SET ICU_DIST=%_CD%\tools\icu-54.1\dist-64 |
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
Originall From: Posted 2015-05-29 http://ubwg.net/b/full-list-of-ffmpeg-flags-and-options | |
This is the complete list that’s outputted by ffmpeg when running ffmpeg -h full. | |
usage: ffmpeg [options] [[infile options] -i infile]… {[outfile options] outfile}… | |
Getting help: | |
-h — print basic options | |
-h long — print more options | |
-h full — print all options (including all format and codec specific options, very long) |
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
** Rationale for using CPL as an installer format ** | |
An issue with EXE installers is that they are likely to pick up bogus DLLs | |
from the directory they execute from, which, from security perspective, must | |
be assumed to be polluted with malicious stuff of all kinds. This holds even | |
for installers which carefully avoid DLL dependencies to the possible extent, | |
because the various DLL injection mechanisms built into Windows may introduce | |
additional dependencies which practically go beyond anyone's control. | |
https://blogs.msdn.microsoft.com/oldnewthing/20130802-00/?p=3633 provides some |
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
cd\Program Files\Microsoft Office\Office16 | |
cd\Program Files (x86)\Microsoft Office\Office16 | |
cscript OSPP.VBS /sethst:kms.digiboy.ir | |
cscript OSPP.VBS /actcscript OSPP.VBS /dstatus | |
slmgr.vbs /ckms |
OlderNewer