Skip to content

Instantly share code, notes, and snippets.

View L1Cafe's full-sized avatar
☯️

L1Cafe

☯️
View GitHub Profile
@L1Cafe
L1Cafe / scan_ssh.bash
Last active March 26, 2023 08:02
Scan for SSH hosts, then try to connect to them using your keyfile
#!/bin/bash
default_network_range="192.168.0.0/24"
default_username="root"
default_port=22
# Prompt user for input and set default values if not provided
echo "Enter network range (default: $default_network_range): "
read network_range
network_range=${network_range:-$default_network_range}
BEGIN MESSAGE.
ckXGAv2Kd4jSHnL Ld9DBAMSrDXZqyq IDcv2crAFPHwjQn HzTJIK0u07P8g0V
K00nsSPkCwIDDV5 fOGzHv0jMpXTCKq 6Xr2MZHgg6NiD2k icdyUwXjrMI1EXV
2ImTSKlOdPQBHFH qejjkcUHKc0muB0 shTnjBcsusUCqdC kghYW0QDZBrItC7
CmOAQjPhGdFSh4r BwBbhYUMQx5GGsg K1bXO21.
END MESSAGE.

Keybase proof

I hereby claim:

  • I am l1cafe on github.
  • I am l1cafe (https://keybase.io/l1cafe) on keybase.
  • I have a public key ASA9rbr1OTTi9s4y9xAeMiTloeXK3X1lwX4wD27StMSa2go

To claim this, I am signing this object:

@L1Cafe
L1Cafe / GitHub flavoured cheatsheet.md
Last active November 25, 2017 14:24
GitHub flavoured markdown cheatsheet

GitHub flavoured cheatsheet

This is a cheatsheet to help you write markdown for GitHub quickly, showing you the basics.

Text basics

this is italic and this is bold . another italic and another bold

this is important text. and percentage signs: % and %