Merging, fixing, making it better.
parent
baf1de8b3d
commit
843f00c195
|
@ -0,0 +1,6 @@
|
|||
tl;dr the use of virtual env:
|
||||
|
||||
# #! /usr/bin/env python
|
||||
# . venv/bin/activate
|
||||
|
||||
|
|
@ -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
|
|
@ -2,3 +2,4 @@ setopt AUTO_CD
|
|||
setopt COMPLETE_IN_WORD
|
||||
setopt ALWAYS_TO_END
|
||||
setopt PROMPT_SUBST
|
||||
setopt interactivecomments
|
||||
|
|
|
@ -4,8 +4,7 @@ source ~/.zsh/prompt.zsh
|
|||
source ~/.zsh/completion.zsh
|
||||
source ~/.zsh/aliases.zsh
|
||||
source ~/.zsh/bindkeys.zsh
|
||||
source ~/.zsh/general_functions.zsh
|
||||
source ~/.zsh/pentest_functions.zsh
|
||||
source ~/.zsh/ptz_functions.zsh
|
||||
source ~/.zsh/history.zsh
|
||||
|
||||
zstyle ':completion:*' menu select
|
||||
|
|
Loading…
Reference in New Issue