This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost> | |
ServerName apache.example.com | |
[...] | |
ProxyPass /gitblit ajp://infra.example.com:8009/gitblit | |
# ProxyPassReverse is not required, because the apache context /gitblit is the same as the tomcat one | |
<Location /gitblit> | |
SSLVerifyClient require |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Subsystem sftp internal-sftp | |
Match group sftp-only | |
ChrootDirectory /home/sftp/ | |
X11Forwarding no | |
AllowTcpForwarding no | |
ForceCommand internal-sftp -u 0002 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bash$ GLOBIGNORE="confidential.txt" | |
bash$ ls -l /opt/too_many_files/* | |
secret.txt | |
top_secret.txt | |
public.txt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bash$ shopt -s extglob | |
bash$ ls -l /opt/too_many_files/!(confidential.txt) | |
secret.txt | |
top_secret.txt | |
public.txt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bash$ ls -l --ignore="confidential.txt" /opt/too_many_files | |
secret.txt | |
top_secret.txt | |
public.txt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bash$ ls -l /opt/too_many_files/[!c]* | |
secret.txt | |
top_secret.txt | |
public.txt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bash$ ls -l /opt/too_many_files | |
secret.txt | |
top_secret.txt | |
confidential.txt | |
public.txt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% tail -c +17185 good_tail.tar > extracted_tail.tar | |
% tar xf extracted_tail.tar |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% perl find_tar_headers.pl good_tail.tar | |
good_tail.tar:17185:top/secret/warp_reactor.so:157106 | |
good_tail.tar:75041:top/secret/kernel_injectors.so:153125 | |
good_tail.tar:130849:top/secret/dampening_fields.so:145746 | |
good_tail.tar:183585:top/secret/plasma_controls.so:157035 | |
[...] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% cat rec00[2-4][0-9][0-9] > good_tail.tar |
NewerOlder