Curl: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(→Links) |
|||
| Zeile 122: | Zeile 122: | ||
= Links = | = Links = | ||
| − | + | * https://www.ostechnix.com/a-list-of-useful-console-services-for-linux-users/?fbclid=IwAR3m94pZ5MAApsozvsYRP8utXROhb0tdFpLWqJuzLjdlUO8XlWxqAHOYkCQ | |
Version vom 6. März 2023, 13:52 Uhr
Installation
- Debian-basierte Systeme
- apt install curl
- Arch-basierte Systeme
- pacman -S curl
nützliche Webseiten
öffentliche IP-Adresse herausfinden
- curl -6 ifconfig.co
*xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx*
- curl -4 ipinfo.io
{
"ip": "xxx.xxx.xxx.xxx.xxx",
"city": "Frankfurt am Main",
"region": "Hesse",
"country": "DE",
"loc": "Breitengrad, Längengrad",
"org": "Organisation",
"postal": "60306",
"timezone": "Europe/Berlin",
"readme": "https://ipinfo.io/missingauth"
}
Cheat Sheet für Kommandozeilenbefehle
- curl cheat.sh/find
find . -iname '*.jpg' # Find directories. find . -type d # Find files. Specifically files; not directories, links, FIFOs, etc. find . -type f # Find files set to the provided octal mode (permissions). find . -type f -perm 777 ...
- curl cheat.sh/nmap
# Single target scan: nmap [target] # Scan from a list of targets: nmap -iL [list.txt] # Scan port for all available A records # (useful when multiple A records are returned by the DNS server) nmap --script resolveall --script-args newtargets,resolveall.hosts=[target] -p [port] # iPv6: nmap -6 [target] # OS detection: nmap -O --osscan_guess [target] # Save output to text file: nmap -oN [output.txt] [target] ...
- curl cheat.sh/tcpdump
# Intercepts all packets on eth0 tcpdump -i eth0 # Intercepts all packets from/to 173.194.40.120 tcpdump host 173.194.40.120 # Intercepts all packets on all interfaces from / to 173.194.40.120 port 80 # -nn => Disables name resolution for IP addresses and port numbers. tcpdump -nn -i any host 173.194.40.120 and port 80
Das Wetter
- curl wttr.in/Zweibrücken
Weather report: Zweibrücken
\ / Sunny
.-. +2(-2) °C
― ( ) ― ↓ 4 km/h
`-’ 10 km
/ \ 0.0 mm
┌─────────────┐
┌──────────────────────────────┬───────────────────────┤ Fri 03 Mar ├───────────────────────┬──────────────────────────────┐
│ Morning │ Noon └──────┬──────┘ Evening │ Night │
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┤
│ \ / Sunny │ \ / Sunny │ \ / Sunny │ \ / Clear │
│ .-. +1(-2) °C │ .-. +7(5) °C │ .-. +6(5) °C │ .-. +2(0) °C │
│ ― ( ) ― ↙ 9-15 km/h │ ― ( ) ― ↙ 13-14 km/h │ ― ( ) ― ↙ 9-13 km/h │ ― ( ) ― ↓ 7-15 km/h │
│ `-’ 10 km │ `-’ 10 km │ `-’ 10 km │ `-’ 10 km │
│ / \ 0.0 mm | 0% │ / \ 0.0 mm | 0% │ / \ 0.0 mm | 0% │ / \ 0.0 mm | 0% │
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┘
┌─────────────┐
┌──────────────────────────────┬───────────────────────┤ Sat 04 Mar ├───────────────────────┬──────────────────────────────┐
│ Morning │ Noon └──────┬──────┘ Evening │ Night │
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┤
│ \ / Sunny │ \ / Sunny │ \ / Partly cloudy │ Cloudy │
│ .-. +2(0) °C │ .-. +6(4) °C │ _ /"".-. +4(1) °C │ .--. +3(0) °C │
│ ― ( ) ― ↓ 5-8 km/h │ ― ( ) ― ↓ 12-15 km/h │ \_( ). ↓ 11-17 km/h │ .-( ). ↓ 9-15 km/h │
│ `-’ 10 km │ `-’ 10 km │ /(___(__) 10 km │ (___.__)__) 10 km │
│ / \ 0.0 mm | 0% │ / \ 0.0 mm | 0% │ 0.0 mm | 0% │ 0.0 mm | 0% │
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┘
┌─────────────┐
┌──────────────────────────────┬───────────────────────┤ Sun 05 Mar ├───────────────────────┬──────────────────────────────┐
│ Morning │ Noon └──────┬──────┘ Evening │ Night │
├──────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┤
│ Overcast │ Overcast │ Overcast │ Cloudy │
│ .--. +2(0) °C │ .--. +3(2) °C │ .--. +4(1) °C │ .--. +1(0) °C │
│ .-( ). ↓ 5-8 km/h │ .-( ). ↘ 5-7 km/h │ .-( ). → 8-12 km/h │ .-( ). → 4-7 km/h │
│ (___.__)__) 10 km │ (___.__)__) 10 km │ (___.__)__) 10 km │ (___.__)__) 10 km │
│ 0.0 mm | 0% │ 0.0 mm | 0% │ 0.0 mm | 0% │ 0.0 mm | 0% │
└──────────────────────────────┴──────────────────────────────┴──────────────────────────────┴──────────────────────────────┘
Location: Zweibrücken, Rheinland-Pfalz, 66482, Deutschland [49.248655,7.3641981]
Follow @igor_chubin for wttr.in updates