pwd {root} retweeted
Aspiring hackers…
60 Cybersecurity Projects, Certification Roadmaps. Everything you need to build your cybersecurity portfolio. 📍
Try: github.com/CarterPerez-dev/C…
Just sharing, Reason: It might be useful for beginners
pwd {root} retweeted
⚠️ Warning ⚠️
Kali has a new signing key! 🔑
(Manual action required! 🫣)
If you are getting:
> Missing key 827C8569F2518CC677FECA1AED65462EC8D5E4C5, which is needed to verify signature.
You need to download and install the new key manually, here’s the one-liner:
```
sudo wget archive.kali.org/archive-key… -O /usr/share/keyrings/kali-archive-keyring.gpg
```
Blog post: A New Kali Linux Archive Signing Key ~ kali.org/blog/new-kali-archi…
pwd {root} retweeted
AI-generated code is reshaping secure code review—fewer trivial bugs, but more hidden threats.
Read more in our new blog post:
pentesterlab.com/blog/secure…
What do you think?
pwd {root} retweeted
Replying to @therootdir
pwd {root} retweeted
Remember there are people here who "root" for YOU not for getting your engagement.
I call them 𝕏 Friends.
For me friends don't mean people who engage with posts or engage to get an engagement or think this is only what support means.
𝕏 misses this part of Twitter.
pwd {root} retweeted
Day 6 of DevOps: WebSockets & Real-Time Communication
🔌WebSocket Protocol:
- Bi-directional communication
- Persistent connections
- Real-time data transfer
💬 Let's build a real-time chat application:
```
from flask import Flask
from flask_socketio import SocketIO, emit
app = Flask(__name__)
socketio = SocketIO(app)
@socketio.on('connect')
def handle_connect():
emit('message', {'data': 'Connected to server!'})
@socketio.on('chat')
def handle_chat(message):
emit('message', {'data': message}, broadcast=True)
if __name__ == '__main__':
socketio.run(app, debug=True)
```
🥸 Create the client interface:
```
<!DOCTYPE html>
<html>
<head>
<title>Real-Time Chat</title>
<script src="cdnjs.cloudflare.com/ajax/li…"></script>
</head>
<body>
<div id="messages"></div>
<input type="text" id="messageInput">
<button onclick="sendMessage()">Send</button>
<script>
const socket = io();
socket.on('message', function(data) {
const messagesDiv = document.getElementById('messages');
messagesDiv.innerHTML += `<p>${data.data}</p>`;
});
function sendMessage() {
const input = document.getElementById('messageInput');
socket.emit('chat', input.value);
input.value = '';
}
</script>
</body>
</html>
```
🕸️ Test WebSocket performance:
```
import websocket
import time
def on_message(ws, message):
print(f"Received: {message}")
def on_error(ws, error):
print(f"Error: {error}")
def run_test():
ws = websocket.WebSocketApp("ws://localhost:5000/socket.io",
on_message=on_message,
on_error=on_error)
ws.run_forever()
if __name__ == "__main__":
run_test()
```
👉 Key Concepts Covered:
- WebSocket Protocol
- Event-driven architecture
- Real-time data handling
- Socket.IO implementation
- Broadcasting messages
- Connection management
🛜 Practice Exercises:
- Add user authentication to the chat
- Implement private messaging
- Add typing indicators
- Create chat rooms
- Add message persistence
🐳 Example: github.com/rohitg00/my-own-w…
Ready to enhance the chat application with more features? Let's dive deeper into WebSocket implementations!
Follow @ghumare64 for more learnings, and check out DevOps Resources at DevOpscommunity.in
Day 5 of DevOps: Advanced Networking Concepts & Load Balancing
1️⃣ Load Balancing Fundamentals:
- Round Robin
- Least Connections
- IP Hash
- Weighted Round Robin
2️⃣ Let's create a simple load balancer using Nginx:
```
http {
upstream backend {
server 127.0.0.1:5001;
server 127.0.0.1:5002;
server 127.0.0.1:5003;
}
server {
listen 80;
location / {
proxy_pass http://backend;
}
}
}
```
3️⃣ Create multiple server instances to test load balancing:
```
from flask import Flask
import sys
app = Flask(__name__)
@app.route('/')
def hello():
return f'Hello from server port {port}'
if __name__ == '__main__':
port = int(sys.argv[1])
app.run(port=port)
```
Run multiple instances:
```
python multi_server.py 5001
python multi_server.py 5002
python multi_server.py 5003
```
4️⃣ Network Monitoring Tools:
🛜Check network statistics:
`netstat -s`
🧑💻Monitor real-time network traffic:
`iftop`
5️⃣ Advanced Concepts Implementation:
```
from flask import Flask, request
import threading
import time
app = Flask(__name__)
# Simple in-memory cache
cache = {}
cache_lock = threading.Lock()
@app.route('/cached-data/<key>')
def get_cached_data(key):
with cache_lock:
if key in cache:
return cache[key]
time.sleep(1) # Simulate slow operation
result = f"Data for {key}"
with cache_lock:
cache[key] = result
return result
if __name__ == '__main__':
app.run(threaded=True)
```
Key Learning Points:
🔋Load balancing strategies
🔐Nginx configuration
🔎Server scaling
🧑💻Network monitoring
🎛️Caching strategies
🌐Concurrent connections
Practical Exercises:
🕸️Test load balancer with different algorithms
🤿Monitor server response times
🚦Implement health checks
🌀Test failover scenarios
✳️Measure performance under load
These concepts complete your foundational networking knowledge. You're now equipped to handle basic to intermediate networking scenarios in production environments.
Want to test these concepts with a real-world project?
Check out more at devopscommunity.in
Follow @ghumare64 for the Day 6 of DevOps; We will learn DevOps Daily.
pwd {root} retweeted
🚀 Day 28 of #100DaysOfCode
Scaffolding a vue project & Sidebar Understanding servers 🛜
- How to create a vue app using npm/bun
- Vite server
- Understanding Vue folder structure
#VueJS #CodingJourney
pwd {root} retweeted
Articles worth reading discovered last week:
🗞 naehrdine.blogspot.com/2024/…
🗞 mizu.re/post/exploring-the-d…
🗞 seclists.org/oss-sec/2024/q4…
🗞 synacktiv.com/relaying-kerbe…
🗞 blog.includesecurity.com/202…
🗞 pagedout.institute/?page=iss…
🗞 pathonproject.com/zb/?65b407…
More details in our Blog: pentesterlab.com/blog/resear…
#PentesterLabWeekly
pwd {root} retweeted
🎄 Want to boost your AppSec skills this season?
Here’s your Advent challenge: pick a codebase and read its code for one hour every day.
By the end of the month, you’ll be amazed at how much you’ve learned! 🚀
pwd {root} retweeted
United States Politician Rand Paul wants to cut, or entirely eliminate, the United States Cybersecurity and Infrastructure Security Agency (CISA).
He said: “While it’s unlikely we could get rid of CISA, we survived for what, 248 years without them”
politico.com/news/2024/11/14…
pwd {root} retweeted
This week has been crazy with a lot of excellent content that should keep you busy for a while! Crypto, Sandboxes, WAF Bypasses…
You can find more details in our blog: pentesterlab.com/blog/resear…
🗞 dustri.org/b/upcoming-harden…
🗞 github.com/elikaski/ECC_Atta…
🗞 mdsec.co.uk/2024/10/when-waf…
🗞 jhftss.github.io/A-New-Era-o…
🗞 github.com/martinvonz/jj/sec…
🗞 github.com/ssl/shortboost
🗞 googleprojectzero.blogspot.c…
#PentesterLabWeekly
pwd {root} retweeted
Share the topic/skill you would love to work or learn through Roadmap, cheat sheets or quick guides ✍️✍️
pwd {root} retweeted
Do you have ideas? Want to share them?
Take our (quick!) survey and tell us what you want to see next on Zakaya!!
Link below 👇
pwd {root} retweeted
The art of Learning Programming for Red teaming and CyberSecurity.
5mukx.site/blog/11-02-2024/t…
This covers the importance of programming in red teaming and cybersecurity, and provides a path to choose which direction is right for you.




















