Skip to content

Instantly share code, notes, and snippets.

View giuliomagnifico's full-sized avatar

giuliomagnifico

  • Italy
View GitHub Profile
@petermcd
petermcd / logins.csv
Created February 10, 2019 12:14
A listy of credentials tried when I opened an SSH port to the internet for a week. in the format request ID, username, password, time/date of attempt, request coun try of origin, unique id representing the IP making the connection.
We can't make this file beautiful and searchable because it's too large.
id,username,password,when,country,host_id
21,admin,7ujMko0admin,2019-02-02 10:39:27,China,0
22,pi,jdd,2019-02-02 10:40:09,United Kingdom,1
23,pi,kkk,2019-02-02 10:40:11,United Kingdom,1
24,pi,lk,2019-02-02 10:40:13,United Kingdom,1
25,pi,kk',2019-02-02 10:40:16,United Kingdom,1
26,pi,kjj,2019-02-02 10:40:18,United Kingdom,1
27,pi,fds,2019-02-02 10:42:55,United Kingdom,1
28,pi,eee,2019-02-02 10:42:56,United Kingdom,1
29,pi,fds,2019-02-02 10:42:57,United Kingdom,1
@guycalledseven
guycalledseven / manual-uninstall-wireshark.sh
Created March 6, 2017 12:10
Manually remove Wireshark leftovers MacOS
sudo rm -r /Applications/Wireshark.app
sudo rm -r /Library/Wireshark
sudo rm /Library/StartupItems/ChmodBPF
sudo rm /Library/LaunchDaemons/org.wireshark.ChmodBPF.plist
sudo rm /Library/Application\ Support/Wireshark/ChmodBPF/ChmodBF
sudo rm /Library/Application\ Support/Wireshark/ChmodBPF/org.wireshark.ChmodBPF.plist
sudo dscl . -delete /Groups/access_bpf
@ecampidoglio
ecampidoglio / cpustatus.sh
Created February 21, 2013 23:42
A Bash script that prints the current state of the CPU on a Raspberry Pi. It displays variables like temperature, voltage and speed.
#!/bin/bash
# cpustatus
#
# Prints the current state of the CPU like temperature, voltage and speed.
# The temperature is reported in degrees Celsius (C) while
# the CPU speed is calculated in megahertz (MHz).
function convert_to_MHz {
let value=$1/1000
echo "$value"