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
| version: '3.6' | |
| services: | |
| jenkins: | |
| restart: on-failure | |
| container_name: jenkins | |
| image: jenkins/jenkins:latest | |
| volumes: | |
| - ./jenkins/data:/var/jenkins_home | |
| - ./jenkins/docker-certs:/certs/client | |
| ports: |
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
| #!/bin/bash | |
| SOURCE_FILE="access_log_1000.log" | |
| TARGET_FILE="/mnt/c/Users/teebow1e/IdeaProjects/project1-soict/webserver.log" | |
| #TARGET_FILE="target.log" | |
| CHUNK_SIZE=5 | |
| while true; do | |
| chunk=$(head -n "$CHUNK_SIZE" "$SOURCE_FILE") | |
| if [ -n "$chunk" ]; then |
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
| #!/bin/bash | |
| sudo tcpdump -ni tun0 icmp | |
| # tun0 can be changed with your internet-facing interface |
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
| for i in range(1,3000000): | |
| print(f"\r{i}", end="") |
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
| # +----------------------------+ | |
| # | IDE files | | |
| # +----------------------------+ | |
| /.idea | |
| # +----------------------------+ | |
| # | Vagrant | | |
| # +----------------------------+ | |
| /.vagrant |
- Can use Rufus or Ventoy to prepare your USB stick.
- For Ventoy, just install the EFI using instruction on the homepage, then copy the ISO on the newly created partition.
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
| // use (16 chars of) 'password' to encrypt 'plaintext' | |
| function encrypt(plaintext, password) { | |
| var v = new Array(2), k = new Array(4), s = "", i; | |
| plaintext = escape(plaintext); // use escape() so only have single-byte chars to encode | |
| // build key directly from 1st 16 chars of password | |
| for (var i=0; i<4; i++) k[i] = Str4ToLong(password.slice(i*4,(i+1)*4)); |
- VX-Underground
- Malware Trafic Analysis
- MalwareBazzar - của nhà
abuse.ch, share trực tiếp các malware samples - URLhaus - cũng của nhà
abuse.ch, share các open directory chứa malware