|
|
@@ -15,7 +15,7 @@ alias bigcap="python /home/CITRITE/manjeshn/manscript/bigcap.py"
|
|
|
alias dt="python /home/CITRITE/manjeshn/manscript/disposableToys/Project_dT/dt.py"
|
|
|
|
|
|
# Parv style of tshoot
|
|
|
-alias ls="ls -ltrha"
|
|
|
+alias ls="ls -lrha"
|
|
|
|
|
|
# allnewnslog alias
|
|
|
alias allnewnslog='function _allnewnslog() { base_dir="$(pwd | sed '\''s|\(.*collector[^/]*\)/.*|\1|'\'')"; find "$base_dir/var/nslog/" -maxdepth 1 -type d -name "newnslog*" -print0 | while IFS= read -r -d "" i; do echo -e "\033[1;33m------------------------ $i ------------------------\033[0m"; nsconmsg -K "$i" -d "$1" -s disptime=1; done; }; _allnewnslog'
|
|
|
@@ -37,8 +37,12 @@ alias zzgrep='grep -i --color=always'
|
|
|
alias zzless='less -R'
|
|
|
alias countcol="awk -F, '{for(i=1;i<=NF;i++) { print i, \$i } exit}'"
|
|
|
|
|
|
+fastfind () {
|
|
|
+ find . -iname "*$1*" 2>/dev/null
|
|
|
+}
|
|
|
+
|
|
|
# =============== APPENDED SECTION: PCAP SSLKEYS INJECTOR ===============
|
|
|
-# Parv's PCAP SSLKEYS Injector (Version v0.23)
|
|
|
+# Parv's PCAP SSLKEYS Injector (Fixed Version)
|
|
|
# Requires Wireshark utilities (editcap)
|
|
|
alias pcap-ssl='editcap --inject-secrets tls'
|
|
|
|
|
|
@@ -120,4 +124,5 @@ _pcap-inject-completion() {
|
|
|
# Enable completion with error suppression for older shells
|
|
|
shopt -s extglob 2>/dev/null
|
|
|
complete -F _pcap-inject-completion pcap-inject 2>/dev/null
|
|
|
-echo -e "\033[36m?? PCAP TLS Injector loaded. Use 'pcap-inject' with tab-completion.\033[0m"
|
|
|
+echo -e "\033[36m>> PCAP TLS Injector loaded. Use 'pcap-inject' <<\033[0m"
|
|
|
+# =============== END APPENDED SECTION ===============
|