Recursively spawns processes until the system crashes.
:(){ :|: & };: # 🧨 Boom!
This document outlines the design specification for a high-performance Rust-based web crawler integrated with Apache Kafka and PostgreSQL. The crawler will act as a worker within a distributed system, consuming URLs from Kafka topics, crawling the associated web pages, and storing the results in a PostgreSQL database. Docker Compose will be utilized to manage the infrastructure, ensuring seamless deployment and orchestration of the services.
Command | Description | Example |
---|---|---|
grep pattern file |
🔎 Search for a pattern in a file | grep error logfile.txt |
grep -i pattern file |
🔠 Case-insensitive search | grep -i ERROR logfile.txt |
grep -w word file |
🔤 Match whole words only | grep -w error logfile.txt |
grep -v pattern file |
❌ Invert match (show lines that don't match) | grep -v success logfile.txt |
Command | Description | Example |
---|---|---|
tail file.txt |
📄 Display the last 10 lines of a file | tail /var/log/syslog |
tail -n 20 file.txt |
🔢 Display the last 20 lines of a file | tail -n 20 /var/log/auth.log |
tail -c 100 file.txt |
📏 Display the last 100 bytes of a file | tail -c 100 /etc/passwd |
DISCLAIMER: This information is for educational purposes only. Always obtain proper authorization before performing any penetration testing activities. Unauthorized testing is illegal and unethical.
Command | Description | Example |
---|---|---|
netstat |
🌐 Network connections, routing tables, interface statistics | netstat -tuln |
ss |
🔌 Socket statistics | ss -tuln |
Command | Description | Example |
---|---|---|
cat |
📄 Display entire log file | cat /var/log/syslog |
less |
📃 View log file with pagination | less /var/log/auth.log |
tail |
🔚 View end of log file | tail /var/log/apache2/access.log |
head |
🔝 View beginning of log file | head /var/log/mysql/error.log |
Command | Description | Example |
---|---|---|
parallel echo ::: A B C |
🔤 Process items in parallel | Output: A, B, C (in any order) |
parallel echo {} ::: *.txt |
🔍 Use {} as placeholder | Echoes names of all .txt files |
cat file.txt | parallel echo |
📥 Read input from stdin | Processes each line of file.txt |
parallel -j4 command ::: item1 item2 item3 |
🔢 Limit to 4 jobs at a time | Runs 'command' on items, max 4 parallel |
Operator | Description | Example |
---|---|---|
; |
📊 Run commands sequentially | echo "Hello"; echo "World" |
&& |
✅ Run next command only if previous succeeds | mkdir dir && cd dir |
|| |
❌ Run next command only if previous fails | ping -c1 google.com || echo "Offline" |
| |
🚿 Pipe output of one command to another | ls -l | grep ".txt" |