-
Lost in Translation - A repository of the leaked tools
-
MS17-010 - Port of some of the exploits to Windows 10
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
| # @author Pichaya Morimoto (p.morimoto@sth.sh) | |
| Problem: | |
| ```bash | |
| brew install proxychains-ng | |
| proxychains4 ncat 1.2.3.4 # not working | |
| ``` | |
| There are public workarounds like https://benobi.one/posts/running_brew_on_m1_for_x86/ |
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 | |
| # Script that updates the iTerm Badge with the hostname of the server that you are | |
| # connecting to with ssh. | |
| # | |
| # Instructions: | |
| # - Put this script in ~/bin/ssh (this will override the default ssh binary) | |
| # - Run 'chmod +x ~/bin/ssh' to give execution permission to the script | |
| # - Open iTerm\Preferences\Profiles, select your profile and put '\(user.current_ssh_host)' in the Badge text box | |
| # - Enjoy! |
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
| @echo off | |
| title Microsoft Office 2019 versions are supported!&cls&echo | |
| ============================================================================&echo | |
| #Project: Activating Microsoft software products for FREE without software&echo | |
| ============================================================================&echo.&echo | |
| #Supported products:&echo - Microsoft Office Standard 2019&echo - Microsoft Office Professional Plus 2019&echo.&echo.&(if exist | |
| "%ProgramFiles%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles%\Microsoft Office\Office16")&(if exist | |
| "%ProgramFiles(x86)%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles(x86)%\Microsoft Office\Office16")&(for /f %%x in ('dir /b | |
| ..\root\Licenses16\ProPlus2019VL*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)&(for /f %%x in ('dir /b | |
| ..\root\Licenses16\ProPlus2019VL*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)&echo.&echo |
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
| USER='admin' | |
| PASS='admin' | |
| CLUSTER='dev' | |
| HOST=$(hostname -f):8080 | |
| function start(){ | |
| curl -u $USER:$PASS -i -H 'X-Requested-By: ambari' -X PUT -d \ | |
| '{"RequestInfo": {"context" :"Start '"$1"' via REST"}, "Body": {"ServiceInfo": {"state": "STARTED"}}}' \ | |
| http://$HOST/api/v1/clusters/$CLUSTER/services/$1 | |
| } |
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
| #Sets up single node HDP+Nifi+credit card demo on CentOS 6.6 | |
| #Run script below and then use ~/CreditCardTransactionMonitor/startDemoServices.sh to start demo | |
| export ambari_password=${ambari_password:-admin} | |
| export host_count=${host_count:-1} #choose number of nodes | |
| export ambari_services=${ambari_services:-HDFS HIVE PIG SPARK MAPREDUCE2 TEZ YARN ZOOKEEPER ZEPPELIN NIFI HBASE PHOENIX STORM KAFKA AMBARI_INFRA ATLAS} #AMBARI_METRICS can be added post-install | |
| export hdp_ver=${hdp_ver:-2.6} | |
| export hdf_mpack="http://public-repo-1.hortonworks.com/HDF/centos6/3.x/updates/3.0.1.1/tars/hdf_ambari_mp/hdf-ambari-mpack-3.0.1.1-5.tar.gz" | |
| export vm_name=sandbox | |
| export ambari_version=2.5.1.0 |
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
| Install Zabbix Monitoring Server on Ubuntu 16.04 are as follows: | |
| apt-get update; apt-get install -y lamp-server^ | |
| wget http://repo.zabbix.com/zabbix/3.2/ubuntu/pool/main/z/zabbix-release/zabbix-release_3.2-1+xenial_all.deb | |
| dpkg -i zabbix-release_3.2-1+xenial_all.deb | |
| apt-get update | |
| apt-get install -y zabbix-server-mysql zabbix-frontend-php | |
| mysql -u root -p |
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
| wget -O - https://repo.saltstack.com/apt/debian/9/amd64/latest/SALTSTACK-GPG-KEY.pub | sudo apt-key add - | |
| echo "deb http://repo.saltstack.com/apt/debian/9/amd64/latest stretch main" | tee -a /etc/apt/sources.list.d/saltstack.list | |
| apt-get update | |
| apt-get install -y salt-master salt-minion | |
| mkdir -p /srv/salt /srv/formulas | |
| #uncommnet configuration file server settings | |
| /etc/salt/master | |
| file_roots: |
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
| #!/usr/bin/env bash | |
| k8s(){ | |
| local choice=$1 | |
| K8S_VERSION=1.2.0 | |
| if [ ! -f $HOME/.google-cloud-sdk/bin/kubectl ]; then | |
| echo "No kubectl bin exists! Install the bin to continue :)." | |
| return 1 | |
| fi |
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
| #!/usr/bin/env bash | |
| # bash 4.1.5(1) Linux Ubuntu 10.04 Date : 2013-07-11 | |
| # | |
| # _______________| netspeed : check download speed via command line. | |
| # | |
| # Usage: netspeed [tokyo, london, usw, use, east, west, URL] | |
| # ^default U.S. west coast. | |
| # [ -speed_KB/sec ] | |
| # ^negation activates the Mbps converter. | |
| # |
NewerOlder