Archivo de la categoría: linux

PowerShell Remoting from Linux Centos 7 to Windows

How to connect to Windows from Linux via PowerShell TL;DR You can PS-Remote from Linux to Windows if you Permit NTLM authentication on a target during post-exploitation Restart WinRM services Use this NTLM supporting PowerShell Docker image to PS-Remote from Linux to Windows. Background Info Occasionally I have found it useful on my pentests to leverage… Leer más »

Clone Linux user (copy user, based on another one)

It gets the source user’s groups (not including the group that’s the same as their login) and shell, then creates a new user with the same shell and secondary groups. There is no error checking, it’s just a quick and dirty clone script.

Check If A Linux System Is Physical Or Virtual Machine

Method 1 – Using Dmidecode utility The easiest way to find if we are working on a virtual or physical machine is using dmidecode utility. Dmidecode, DMI table decoder, is used find your system’s hardware components, as well as other useful information such as serial numbers and BIOS revision. Dmidecode comes pre-installed with most Linux distributions. Just in… Leer más »


Pulseaudio should be started at startup but you can manually start it with : pulseaudio –start

Hak5 is inspired to elevate the InfoSec industry Hak5 is inspired to elevate the InfoSec industry by educating, equipping and encouraging an all-inclusive community – where all hackers belong. USB RUBBER DUCKY A «flash drive» that types keystroke injection payloads into unsuspecting computers at incredible speeds. As seen on Mr. Robot.

Can’t locate in @INC (@INC contains: /etc/perl

Can’t locate in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.26.0 /usr/local/share/perl/5.26.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl .) at ./dnsexit/ line 12. BEGIN failed–compilation aborted at ./dnsexit/ line 12. copy into /usr/share/perl5 as root

tigervnc and ubuntu 18.04

# yum -y install tigervnc tigervnc-server vncpasswd # firewall-cmd –permanent –zone=public –add-port=5901/tcp success # firewall-cmd –reload success Running VNC as a System Service Next, we’ll set up the VNC server as a systemd service so we can start, stop, and restart it as needed, like any other service. This will also ensure that VNC starts… Leer más »