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}
@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 %