Skip to content

Instantly share code, notes, and snippets.

View Viss's full-sized avatar

Viss Viss

View GitHub Profile
*READ THIS TOP TO BOTTOM BEFORE STARTING TO COOK*
*DO NOT BLINDLY FOLLOW THIS RECIPE WITHOUT READING IT END TO END FIRST*
*croissants are weird.*
500g all purpose flour
10g salt
80g sugar
10g yeast
300ml cool water
300g butter (NICE BUTTER. get salted kerrygold, or "european style" butter. this is where MOST of the flavor comes from. don't skimp here.
#!/usr/bin/env bash
# Sexy bash prompt by twolfson
# https://github.com/twolfson/sexy-bash-prompt
# Forked from gf3, https://gist.github.com/gf3/306785
# If we are on a colored terminal
if tput setaf 1 &> /dev/null; then
# Reset the shell from our `if` check
tput sgr0 &> /dev/null
@Viss
Viss / gist:e7c735ed389c8d055e6f31e845f25516
Created April 18, 2019 00:16
bash one liner for extracting shodan results for weblogic.
#!/bin/bash
# this script was written by viss as a challenge from @random_robbie
# This one-liner replaces a fairly lengthy python script
# if you want to be walked through it, sign up for square cash, send $viss 20 dollars. Otherwise, flex your google fu!
# oh, ps: you need to pip install shodan, and then configure the shodan cli client by giving it your api key.
# then you're off to the races.
shodan search --fields ip_str --limit 1000 'product:"Oracle Weblogic" port:"7001" country:"US"' | sort -u | nmap -sT -Pn -n -oG - -iL - -p 7001 | grep open | awk '{print $2}' | xargs -I % -n 1 -P 30 bash -c 'RESULT=`curl -s -I -H "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:54.0) Gecko0100101 Firefox/54.0" -H "Connection":"close" -H "Accept-Language":"en-US -H en;q=0.5" -H "Accept":"text/html -H application/xhtml+xml -H application/xml;q=0.9 -H */*;q=0.8" -H "Upgrade-Insecure-Requests":"1" %:7001/ws_utc/config.do | egrep HTTP`; echo "%: $RESULT";'
first, create a bash script, put this in it.
#!/bin/bash
while IFS='' read -r line || [[ -n "$line" ]]; do
curl --user-agent "$line" <the url you want to troll>
done < "$1"
Name it something dumb. logshove.sh
Next create a file with no url-encodable chars. Make sure every line is the same length. don't use spaces. I used periods.
@Viss
Viss / reclaimWindows10.ps1
Created January 8, 2017 04:24 — forked from alirobe/reclaimWindows10.ps1
"Reclaim Windows 10" turns off a bunch of unnecessary Windows 10 telemetery, removes bloatware, and privacy invasions. Review and tweak before running. Scripts for reversing are included and commented. Fork via https://github.com/Disassembler0 (different defaults)
##########
# Win10 Initial Setup Script
# Author: Disassembler <disassembler@dasm.cz>
# Version: 1.7, 2016-08-15
# dasm's script: https://github.com/Disassembler0/Win10-Initial-Setup-Script/
# THIS IS A PERSONALIZED VERSION
# This script leaves more MS defaults on, including MS security features.
# Tweaked based on personal preferences for @alirobe 2016-11-16 - v1.7.1
@Viss
Viss / gist:73247ab09c44043c55e9
Created September 4, 2015 18:15
short threatbutt
`-/syyddmNNdy+-
`/hNMMMMMMMMMMMMMNh/`
-dMMMMMMMMMMMMMMMMMMMd-
`sNMMMMMMMMMMMMMMMMMMMMMNo`
-mMMMMMMMMMMMMMMMMMMMMMMMMMs
-mMMMMMMMMMMMMMMMNdhhhhNMMMMN:
.mMMMMMMMMMMMMMMdoshdhys+hMMMMd`
`hMMMMMMMMMMMMdsohNMMMm-:yysMMMM/ .:oss+:-``
+MhyhdyshMMMMMs-mMMMMMN. `dsmMMMh` :ms:--:+ssyss+:-`
`+NMMMssh/.NMMMMohMMMMMMo `mysMMMM: `mh` `.:+syho.
@Viss
Viss / aff-emails-sorted.txt
Created May 26, 2015 17:42
adult friend finder emails sorted by density
470448 yahoo.com
347825 hotmail.com
339101 gmail.com
74310 aol.com
28316 live.com
18896 breakthru.com
16965 msn.com
15760 comcast.net
13664 ymail.com
8195 sbcglobal.net
@Viss
Viss / gist:f4ceb460d98555565097
Last active August 31, 2015 00:53
threatbutt 3
,,,,;-;,,
,,;#################,
,########################,
,###########################>
,###############################,
,##################################>
,####################################>
,######################"^`,````$#######,
,####################%,;#####%##;"$#####>
$#################"`,##$%%%$$ `%#,$#####> ,;#####,,,
```
`-/+ssyddmNNNmho:`
-odNNMMMMMMMMMMMMMMMNh:`
:hNMMMMMMMMMMMMMMMMMMMMMMd/`
.sNMMMMMMMMMMMMMMMMMMMMMMMMMMy-
<code><span style="display:block;line-height:8px; font-size: 8px; font-weight:bold;white-space:pre;font-family: monospace;color: black; background: white;">
..,,.
.*(%&&&@@@@@@@@@&(*