cyberwarlock ➤ {purple path} /hack§, codə§, build§

Joined May 2022
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
9
215
6
1,069
39,725
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…
24
376
26
1,159
135,834
pwd {root} retweeted
give me a nudge if you ever catch me slacking
1
5
482
Replying to @therootdir
#loveit 🫡 follow all your socials. ✌️deuces #respect
1
1
1
419
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.
14
2
23
558
pwd {root} retweeted
Long time no see but the new rank is here #824 🎉 rank #700 to go
1
1
124
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.
2
24
1
113
43,286
🚀 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
1
2
6
146
Kubernetes Interview (What to know)
1
68
1
377
43,308
curiosity is the most important skill
3
6
381
🎄 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! 🚀
6
1
34
4,843
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…
164
199
130
1,892
150,872
do you also believe the god-tier language is C
1
5
208
keep low and simply grind
2
2
6
194
Share the topic/skill you would love to work or learn through Roadmap, cheat sheets or quick guides ✍️✍️
12
1
10
2,944
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 👇
1
1
3
299
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.
13
114
2
590
37,374