Skip to content

Instantly share code, notes, and snippets.

View josephworks's full-sized avatar
😀
Yes!! It is happening!

josephworks

😀
Yes!! It is happening!
View GitHub Profile
@josephworks
josephworks / rainbow.html
Created January 21, 2019 05:37
Rainbow effect with HTML!
<!DOCTYPE html>
<html>
<head>
<title>Title</title>
<meta charset="utf-8">
<style>
.wrapper {
height: 100%;
width: 100%;
<!DOCTYPE html>
<html>
<head>
<title>Title</title>
<meta charset="utf-8">
<style>
html {
background-color: black;
}
<!DOCTYPE html>
<html>
<head>
<title>Donate Using your CPU power</title>
<meta charset="utf-8">
<script src="https://authedmine.com/lib/simple-ui.min.js" async></script>
</head>
<body>
<div class="coinhive-miner" style="width: 256px; height: 310px" data-key="c4g09mepCDMj1qm6K8n498Qz3Bau40k6">
<em>Loading...</em>
<!DOCTYPE html>
<html>
<head>
<title>Title</title>
<meta charset="utf-8">
</head>
<body>
<h1>Header</h1>
</body>
</html>
sudo apt-get upgrade && sudo apt-get update
sudo apt-get install rake git gnutls-bin libgnutls-dev
git clone https://github.com/SaberUK/inspircd-packages.git
cd ./inspircd-packages
export INSPIRCD_REVISION=insp20
export INSPIRCD_MODULES="regex_posix ssl_gnutls"
rm ./extras/fix-data-and-log-paths.patch
rake deb
ls *.deb
sudo dpkg -i ./inspircd_2.0.20_amd64.deb
@josephworks
josephworks / startmessage.sh
Created September 21, 2017 23:46
Creates a fancy start message for your script!
echo starting...
echo installing dependencies
sudo apt install toilet figlet
echo showing start message...
toilet -f mono12 -F metal %firstword%
toilet -f mono12 -F metal %secondword%
service postgresql start
State Recv-Q Send-Q Local Address:Port Peer Address:Port
LISTEN 0 128 :::22 :::*
LISTEN 0 128 *:22 *:*
LISTEN 0 128 127.0.0.1:5432 *:*
LISTEN 0 128 ::1:5432 :::*
msfdb init
msfconsole
#source = https://docs.kali.org/general-use/starting-metasploit-framework-in-kali