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/python | |
import os, sys, argparse, datetime | |
def scan(cmd, ip, dir, log, name, tool): | |
print("[%s / %s] %s starting...." % (ip, name, tool)) | |
os.system(cmd) | |
print("\tLog: %s" % log) | |
print("\tResults: %s" % dir) | |
print("[%s / %s] %s complete." % (ip, name, tool)) |
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
#!/bin/bash | |
version="version 0.981" | |
Thorough = 1 | |
#A script to enumerate local information from a Linux host | |
#Special Thanks to @rebootuser | |
#help function | |
usage () | |
{ | |
echo -e "\n\e[00;31m#########################################################\e[00m" |
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 os | |
from Crypto.Cipher import AES | |
from Crypto.Hash import SHA256 | |
from Crypto import Random | |
#author @corshine | |
print("[+] CORSHINE ENCRYPTION AND DECRYPTION TOOL.\n[+] Choose the options below.") | |
def encrypt(key, filename): | |
chunksize = 64 * 1024 | |
outputFile = 'encrypted' + filename |
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
#!/bin/bash | |
TEXT_RESET='\e[0m' | |
TEXT_YELLOW='\e[0;33m' | |
TEXT_RED_B='\e[1;31m' | |
sudo apt-get update -y | |
echo -e $TEXT_YELLOW | |
echo 'APT update finished...' | |
echo -e $TEXT_RESET |
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
#Create local project | |
1. mkdir test-project | |
2. cd test-project | |
3. touch index.html | |
4. echo "#GIT FUNDAMENTAL BY CORSHINE" >> index.html | |
#create github repository | |
1. pada dashboard github, klik New |
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
############################# | |
########## Bindings | |
############################# | |
# Set the prefix to `ctrl + a` instead of `ctrl + b` | |
unbind C-b | |
set-option -g prefix C-a | |
bind-key C-a send-prefix | |
# Automatically set window title |
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
PS1='\[\033[01;32m\][-CORSHINE-]\033[01;34m\] [\w]\[\033[00m\] ' |
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
PS1='\[\033[01;36m\e[5m[-CORSHINE-]\033[01;34m\e[25m [\w]\[\033[00m\] ' |
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
#!/bin/bash | |
mkdir /tmp/adodefont | |
cd /tmp/adodefont | |
mkdir -p ~/.fonts | |
wget https://github.com/adobe-fonts/source-code-pro/archive/2.030R-ro/1.050R-it.zip | |
unzip 1.050R-it.zip | |
cp source-code-pro-2.030R-ro-1.050R-it/OTF/*.otf ~/.fonts/ | |
wget https://github.com/adobe-fonts/source-serif-pro/archive/2.000R.zip |
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
https://www.reddit.com/r/CyberHacking/ |
OlderNewer