master
Spagnolo Gasper 2022-12-24 23:06:31 +01:00
parent 3c3d8a3247
commit 71cae6f4d2
5 changed files with 20 additions and 11 deletions

View File

@ -5,8 +5,6 @@ author="spanskiduh"
title="Compression" title="Compression"
description="click to read about Compression" description="click to read about Compression"
+++ +++
# Compression # Compression
### Tar archives ### Tar archives

View File

@ -5,7 +5,24 @@ author="spanskiduh"
title="Networking" title="Networking"
description="click to read about Networking" description="click to read about Networking"
+++ +++
--:|:-:| # Networking
### IP command
- `ip route show` -- display all routes `man ip | grep route` -- neat way to find more information about this command
- `ip a` -- display all interfaces
### Netstat command // by default use ss
- `netstat -r` -- show routes
- `netstat -t` -- display all current tcp connections, useful with grep command
- `netstat -ltnp / -lu` list local TCP or UPD connections
#### [netstat](https://www.cyberciti.biz/faq/linux-ip-command-examples-usage-syntax/) is deprecated:
| Old command (Deprecated) | New command |
|:-----------------------------------------------------------:|:-------------------------------------------------------:|
| ifconfig -a | ip a | | ifconfig -a | ip a |
| ifconfig enp6s0 down | ip link set enp6s0 down | | ifconfig enp6s0 down | ip link set enp6s0 down |
| ifconfig enp6s0 up | ip link set enp6s0 up | | ifconfig enp6s0 up | ip link set enp6s0 up |

View File

@ -1,12 +1,10 @@
+++ +++
date="2022-11-30" date="2022-12-24"
author="spanskiduh" author="spanskiduh"
title="VIM" title="VIM"
description="click to read about VIM" description="click to read about VIM"
+++ +++
# VIM # VIM
Comment Multiple Lines Comment Multiple Lines
- `:15,25s/^/#` ~ comment from line 15 to 25. - `:15,25s/^/#` ~ comment from line 15 to 25.

View File

@ -5,8 +5,6 @@ author="spanskiduh"
title="gdb" title="gdb"
description="click to read about gdb" description="click to read about gdb"
+++ +++
# Gdb # Gdb
### Basics ### Basics

View File

@ -1,12 +1,10 @@
+++ +++
date="2022-11-30" date="2022-12-24"
author="spanskiduh" author="spanskiduh"
title="system-information" title="system-information"
description="click to read about system-information" description="click to read about system-information"
+++ +++
# System information # System information
### Basic user enumeration ### Basic user enumeration