Skip to content

Instantly share code, notes, and snippets.

View rhovelz's full-sized avatar
:octocat:
hm?

R rhovelz

:octocat:
hm?
View GitHub Profile
#!/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))
@rhovelz
rhovelz / enumeratelinux.sh
Created December 3, 2019 02:26
Changed a bit from original LinEnum.sh
#!/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"
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
#!/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
#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
#############################
########## 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
PS1='\[\033[01;32m\][-CORSHINE-]\033[01;34m\] [\w]\[\033[00m\] '
PS1='\[\033[01;36m\e[5m[-CORSHINE-]\033[01;34m\e[25m [\w]\[\033[00m\] '
#!/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
https://www.reddit.com/r/CyberHacking/