Command:
apt-get install kali-defaults kali-root-login desktop-base xfce4 xfce4-places-plugin xfce4-goodies
Command:
""" | |
You can run this in the following format: | |
For decimal: python3 ip2dh.py D <Ip-address> | |
For Hexadecimal: python3 ip2dh.py H <Ip-address> | |
""" | |
#!/usr/bin/python3 | |
import sys | |
if len(sys.argv) < 3: |
# PowerView's last major overhaul is detailed here: http://www.harmj0y.net/blog/powershell/make-powerview-great-again/ | |
# tricks for the 'old' PowerView are at https://gist.github.com/HarmJ0y/3328d954607d71362e3c | |
# the most up-to-date version of PowerView will always be in the dev branch of PowerSploit: | |
# https://github.com/PowerShellMafia/PowerSploit/blob/dev/Recon/PowerView.ps1 | |
# New function naming schema: | |
# Verbs: | |
# Get : retrieve full raw data sets | |
# Find : ‘find’ specific data entries in a data set |
$ cat > /tmp/handler.sh | |
#! /bin/bash | |
echo auth_ok:1 | |
echo uid:42 | |
echo gid:21 | |
echo dir:/tmp | |
echo end | |
^D | |
$ chmod +x /tmp/handler.sh |