Merging, fixing, making it better.

master
sıx 2018-04-19 23:45:16 +02:00
parent baf1de8b3d
commit 843f00c195
4 changed files with 24 additions and 2 deletions

View File

@ -0,0 +1,6 @@
tl;dr the use of virtual env:
# #! /usr/bin/env python
# . venv/bin/activate

View File

@ -0,0 +1,16 @@
#!/bin/bash
# Desktop example -> just like in the LWHP repo
IPT=/sbin/iptables
$IPT -F
#Policies
$IPT -P OUTPUT ACCEPT
$IPT -P INPUT DROP
$IPT -P FORWARD DROP
#Allow IN for services
$IPT -A INPUT --in-interface lo -j ACCEPT
#Allow response
$IPT -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT

View File

@ -2,3 +2,4 @@ setopt AUTO_CD
setopt COMPLETE_IN_WORD setopt COMPLETE_IN_WORD
setopt ALWAYS_TO_END setopt ALWAYS_TO_END
setopt PROMPT_SUBST setopt PROMPT_SUBST
setopt interactivecomments

View File

@ -4,8 +4,7 @@ source ~/.zsh/prompt.zsh
source ~/.zsh/completion.zsh source ~/.zsh/completion.zsh
source ~/.zsh/aliases.zsh source ~/.zsh/aliases.zsh
source ~/.zsh/bindkeys.zsh source ~/.zsh/bindkeys.zsh
source ~/.zsh/general_functions.zsh source ~/.zsh/ptz_functions.zsh
source ~/.zsh/pentest_functions.zsh
source ~/.zsh/history.zsh source ~/.zsh/history.zsh
zstyle ':completion:*' menu select zstyle ':completion:*' menu select