haksec.io Profile picture
Jun 6 11 tweets 7 min read Twitter logo Read on Twitter
10 ways to use awk for hackers! 🚀 🧵👇 Image
1️⃣ Extracting Specific Columns from a CSV File

Quickly extract email addresses and phone numbers from a huge contact list.

#DataExtraction #EthicalHacking Image
2️⃣ Filtering Lines Based on a Pattern

Filter out sensitive information like passwords from log files.

#LogAnalysis #Security Image
3️⃣ Calculating Sum/Average of Numeric Data

Calculate the total or average response times from server logs.

#PerformanceAnalysis #EthicalHacking Image
4️⃣ Modifying a Specific Field

Easily replace or anonymize user information in datasets.

Safely share data while preserving privacy during penetration testing.

#DataAnonymization #PenTesting Image
5️⃣ Counting Occurrences of a Specific Pattern

Count the occurrences of juicy keywords!

#LogAnalysis #ThreatDetection Image
6️⃣ Filtering Lines Based on Field Conditions

Filter through large datasets to extract specific records based on conditions!

#DataFiltering #IncidentResponse Image
7️⃣ Performing Arithmetic Operations

Perform mathematical calculations on collected data.

#Cryptography #SecurityAnalysis Image
8️⃣ Grouping and Summarizing Data

Summarize and group data by category or type.

#DataAnalysis #ThreatIntelligence Image
9️⃣ Substitute words in a file

Search and replace words in a file.

#hacking Image
🔟 Processing Multiple Files

Efficiently process multiple files simultaneously.

#hacking #awk Image

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with haksec.io

haksec.io Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @haksecio

Jun 3
10 Vim commands for Vim-virgins 🧵👇 #vim

✨ Bonus: Open Vim by typing "vim" in the terminal ✨ Image
1️⃣ Getting started with Vim:

⌨️ Press "i" to enter insert mode and start typing.
⌨️ To switch to command mode, press the "Esc" key.

🧵2/11
2️⃣ Add line numbers

⌨️ :set number (in command mode)

🧵3/11
Read 11 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(