User Tools

Site Tools


start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
start [2021/11/09 00:25]
admin [+ :::: Git]
start [2024/01/06 20:29] (current)
admin [* Android]
Line 88: Line 88:
   * [[docu:csheet:sysadm:script:git:copy_branch|Copy branch from a remote to another remote]]   * [[docu:csheet:sysadm:script:git:copy_branch|Copy branch from a remote to another remote]]
   * [[docu:csheet:sysadm:script:git:delete_branch|Delete branch from both local and remote]]   * [[docu:csheet:sysadm:script:git:delete_branch|Delete branch from both local and remote]]
 +  * [[docu:csheet:sysadm:script:git:changes_directory|Show files changed history and commits in an specific directory]]
  
 ==== + :::: Python ==== ==== + :::: Python ====
  
 +  * [[docu:csheet:sysadm:script:python:html_scraping|Simple guide for HTML Web Scraping]]
   * [[docu:csheet:sysadm:script:python:argparse|How to use argparse on python3]]   * [[docu:csheet:sysadm:script:python:argparse|How to use argparse on python3]]
   * [[docu:csheet:sysadm:script:python:read_csv|Read a CSV file to JSON, using the first rows as field names definition]]   * [[docu:csheet:sysadm:script:python:read_csv|Read a CSV file to JSON, using the first rows as field names definition]]
 +  * [[docu:csheet:sysadm:script:python:sort_by_key|Sort an Array by a key value]]
 ==== + :::: CURL ==== ==== + :::: CURL ====
  
Line 119: Line 121:
   * [[docu:csheet:sysadm:desktop:i3wm:keyboard_layout|Set keyboard layout on i3]]   * [[docu:csheet:sysadm:desktop:i3wm:keyboard_layout|Set keyboard layout on i3]]
  
 +==== + :::: Printers/Printing ====
 +
 +  * [[docu:csheet:sysadm:desktop:print:setup_printing|Setup printing tools in your Debian-based Linux (if it doesn't have them)]]
 ==== + :::: PulseAudio ==== ==== + :::: PulseAudio ====
  
Line 133: Line 138:
  
   * [[docu:csheet:misc:rpi_unzip_dd|Unzip raspberry pi OS to an sdcard (or disk) using unzip and dd]]   * [[docu:csheet:misc:rpi_unzip_dd|Unzip raspberry pi OS to an sdcard (or disk) using unzip and dd]]
 +  * [[docu:csheet:sysadm:disks:mount_gz_image|Mount a .gz compressed image file using nbdkit and nbd-client (read-only)]]
   * [[docu:csheet:sysadm:disks:luks_change_key|Change passphrase on LUKS full encrypted disk/partition]]   * [[docu:csheet:sysadm:disks:luks_change_key|Change passphrase on LUKS full encrypted disk/partition]]
   * [[docu:csheet:sysadm:disks:t2fs_reserved|Remove reserved blocks from an ext4 partition]]   * [[docu:csheet:sysadm:disks:t2fs_reserved|Remove reserved blocks from an ext4 partition]]
Line 145: Line 151:
   * [[docu:csheet:sysadm:disks:uuid_set_device|Manually set UUID of Linux swap/ext partition using cli]]   * [[docu:csheet:sysadm:disks:uuid_set_device|Manually set UUID of Linux swap/ext partition using cli]]
   * [[docu:csheet:sysadm:disks:iscsi_update_targets|Update ISCSI target list from a certain ISCSI host]]   * [[docu:csheet:sysadm:disks:iscsi_update_targets|Update ISCSI target list from a certain ISCSI host]]
 +  * [[docu:csheet:sysadm:disks:img_mount_loop|Mount .img partitions to separate loops so you can mount any partition inside image]]
 +  * [[docu:csheet:sysadm:disks:get_hw_info|Show hardware information of system disks (manufacturer, etc...)]]
 +  * [[docu:csheet:sysadm:disks:shred_ssd|Securely erase an SSD with hdparm]]
 +
 +==== + :::: Privacy ====
 +
 +  * [[docu:csheet:sysadm:disks:privacy:wipe_disk|Wipe a disk entirely (for privacy) using shred]]
  
 \\ \\
Line 164: Line 177:
 ==== + :::: Relays/Proxies ==== ==== + :::: Relays/Proxies ====
     * [[docu:csheet:net:relays:socat_usage|Curated practical uses for socat, a whole TCP/UDP/UNIXSOCK relay tool]]     * [[docu:csheet:net:relays:socat_usage|Curated practical uses for socat, a whole TCP/UDP/UNIXSOCK relay tool]]
 +    * [[docu:csheet:net:relays:vpn_wireguard_vps|Setup a Wireguard VPN on your VPS to your local network (even with CG NAT)]]
  
 ==== + :::: Misc ==== ==== + :::: Misc ====
 +    * [[docu:csheet:net:misc:networking_install|Install ifupdown for "networking" service instead of network-manager or any other]]
     * [[docu:csheet:net:misc:ipforwarding|Enable/disable ip forwarding]]     * [[docu:csheet:net:misc:ipforwarding|Enable/disable ip forwarding]]
     * [[docu:csheet:net:misc:switch_back2_interfaces|Disable netplan on Ubuntu to switch back to network iterfaces /etc/network/interfaces]]     * [[docu:csheet:net:misc:switch_back2_interfaces|Disable netplan on Ubuntu to switch back to network iterfaces /etc/network/interfaces]]
Line 199: Line 214:
   * [[docu:csheet:sysadm:files:targz_list|Show contents of a tar.gz file]]   * [[docu:csheet:sysadm:files:targz_list|Show contents of a tar.gz file]]
   * [[docu:csheet:sysadm:files:compress_vids|Insanely Compress videos using ffmpeg]]   * [[docu:csheet:sysadm:files:compress_vids|Insanely Compress videos using ffmpeg]]
 +  * [[docu:csheet:sysadm:files:share_ffmpeg_stream|Share an ffmpeg stream over tcp with netcat]]
   * [[docu:csheet:sysadm:files:cut_vids|Cut/split videos using ffmpeg]]   * [[docu:csheet:sysadm:files:cut_vids|Cut/split videos using ffmpeg]]
   * [[docu:csheet:sysadm:files:ffmpeg_separate_join_audio_video|Separate and join again the audio and video from a file using ffmpeg]]   * [[docu:csheet:sysadm:files:ffmpeg_separate_join_audio_video|Separate and join again the audio and video from a file using ffmpeg]]
Line 218: Line 234:
   * [[docu:csheet:ofsec:pcap|Dumpcap common snippets]]   * [[docu:csheet:ofsec:pcap|Dumpcap common snippets]]
   * [[docu:csheet:ofsec:wshark_live_cap_ssh|Capture live packets from server using Wireshark and SSH tunnel]]   * [[docu:csheet:ofsec:wshark_live_cap_ssh|Capture live packets from server using Wireshark and SSH tunnel]]
 +  * [[docu:csheet:ofsec:wshark_tls_client_hello|Filter tls client hello on Wireshark]]
 ==== + :::: Hacking & Cracking ==== ==== + :::: Hacking & Cracking ====
  
Line 246: Line 262:
  
   * [[docu:tutos:apps:linux:ncmpcpp|How to use NCMPCPP (MPD console client)]]   * [[docu:tutos:apps:linux:ncmpcpp|How to use NCMPCPP (MPD console client)]]
 +  * [[docu:tutos:apps:linux:tmux|How to use Tmux (+some cheatsheets)]]
  
 \\ \\
Line 256: Line 273:
  
   * [[docu:tutos:android:adb_tcp_forwarding|Forwarding adb over TCP/IP]]   * [[docu:tutos:android:adb_tcp_forwarding|Forwarding adb over TCP/IP]]
 +  * [[docu:tutos:android:adb_root_reverse_shell_openssl|Spawn a usable root shell on your Android, without su, using "ADB as Root" developer option with and Termux with openssl]]
  
 \\ \\
start.1636417554.txt.gz · Last modified: 2021/11/09 00:25 by admin