Diogo Pereira

951 posts

Diogo Pereira banner
Diogo Pereira

Diogo Pereira

@diogper

Offensive Security Engineer 100+ apps secured across 50+ orgs Securing the Decentralized Future ⛓️

Katılım Eylül 2017
454 Takip Edilen45 Takipçiler
Diogo Pereira
Diogo Pereira@diogper·
@Dhruvam987 Which cruise you at ? Currently on a cruise too. Cruise internet is not cheap though
English
0
0
1
2
Dhruvam
Dhruvam@Dhruvam987·
What’s stopping you from coding in the middle of the ocean like this?
Dhruvam tweet media
English
60
4
118
1.8K
Diogo Pereira
Diogo Pereira@diogper·
@SapphoSys CTFs now are a solo game. You can still go level up your game choosing not to use AI, or selectively using it. The competition part is a problem to be solved 🙃
English
0
0
0
25
chloe 🐇
chloe 🐇@SapphoSys·
it's very sad i'll never be able to experience CTFs in my life :( and there seems to be no point in even trying to attempt these days seeing as how the scene is dead due to AI... shame :c i would have so loved to try challenges myself
English
22
6
252
19K
Diogo Pereira
Diogo Pereira@diogper·
@Alexintosh Unfortunately…. It’s true. But you know there’s also good companies trying to be efficient but getting blocked or stalled by the system. Eventually even if full of energy companies in the beginning get bottlenecked enough, the whole thing just aligns to being slow 🙃
English
1
0
5
3.4K
alexintosh
alexintosh@Alexintosh·
I asked a Portuguese company for a custom mosquito net aluminum frame, it took them 3 weeks to quote me €545. One month for delivery and installation. Watch me 3D print the entire thing for <30€ of PETG
alexintosh tweet mediaalexintosh tweet media
English
51
9
409
65.8K
Diogo Pereira
Diogo Pereira@diogper·
@takkerohan97 There's a quote that goes like this: "Give me six hours to chop down a tree and I will spend the first four sharpening the axe." I learnt exactly this. There is no shortcut. Just practice enough so that it becomes unreasonable to not pass :-)
English
0
0
1
37
ROHAN
ROHAN@takkerohan97·
@diogper fundamentals take time, but they save you years later...what are some things you realized or learned while preparing for certifications?
English
1
0
1
374
ROHAN
ROHAN@takkerohan97·
For those who’ve landed jobs in #cybersecurity, what made you stand out to get hired ?
English
9
3
29
27K
@levelsio
@levelsio@levelsio·
There was some great tweet about how work life balance was kinda bs and true freedom is just life mixed with different moments of some work here, some life here and if you love what you do (like creating things) it should be mixed in with your life all the time, but I lost the tweet
English
59
37
1.4K
126.5K
Diogo Pereira
Diogo Pereira@diogper·
Honestly I noticed when I was in a very different timezone, where my morning was when colleagues were asleep. I just did a crazy amount of work, very productive. I feel it’s the same dynamic here but time window is different. Thought in that timezone case, I would go late to sleep due to sync meetings 😅
English
0
0
0
20
Diogo Pereira
Diogo Pereira@diogper·
@thegarybrecka Theres less noise at night, at it feels its easier to focus or drive work better when no one else is there disturbing or grabbing your attention. Easy to go to bed late due to this...
English
2
0
1
550
Gary Brecka
Gary Brecka@thegarybrecka·
What is your biggest obstacle to getting consistent, quality sleep? I want to know what actually affects people. Drop it below.
English
142
2
77
25.6K
Diogo Pereira
Diogo Pereira@diogper·
Using tmux session to have just one shell session across your devices is pretty cool. Back in the day I'd use a command called "screen" for enabling persistent shell sessions and co-op of the sessions on one box machine that we would leave on a client for security assessments. We would have different named shell sessions for the different work we would do, but in your case I guess you just want to easily shell from different devices into the previous session and continue your work...
English
1
0
3
3.3K
@levelsio
@levelsio@levelsio·
So here's my latest set up Every site I have is a profile on Termius like > hoodmaps .com I click it and immediately I'm in my server and I get dropped in a tmux session that's always tied to the corresponding site I wanna log in to To make this work I have this startup snippet in each site's Termius profile: > cd /srv/http/hoodmaps.com && tm (so /srv/http is where my sites are and then hoodmaps .com is the example site here, and "&& tm" is the important part here) Then in my ~/.bashrc file I added this (written by Claude Code) which defines the "tm" function, again all it does it just put me in the right tmux session based on the folder I'm in The result is I can switch without interruption from my laptop to phone in Termius with auto reconnecting sessions and usually I just have Claude Code open in each session to work Before I had to mess around with 1) not having smooth switching from laptop to phone, I'd have to use Claude Code's /resume for it, annoying, 2) having multiple sessions for same sites, gets messy and confusing fast, now it FORCES me into one session per site, this just works so well, I'm so fast, and each of my sites is just an open tab in Termius, I've never worked so structured and clean! Here is the code, maybe it helps somebody: # tmux session per folder. `tm` (no args) attaches to / creates a session # named after the current dir's basename. `tm name` overrides the name. # Works whether already inside tmux (uses switch-client) or outside it. tm() { command -v tmux >/dev/null 2>&1 || { echo "tmux not installed"; return 1; } local name="${1:-$(basename "$PWD")}" # tmux session names can't contain '.' or ':' — replace with '-' name="${name//./-}" name="${name//:/-}" if [ -n "$TMUX" ]; then tmux has-session -t "$name" 2>/dev/null || tmux new-session -d -s "$name" -c "$PWD" tmux switch-client -t "$name" else tmux attach -t "$name" 2>/dev/null || tmux new -s "$name" -c "$PWD" fi } # Auto-attach on interactive login: picks a session named after wherever # you land. Plain `ssh server` lands in $HOME → session "root". Use # `ssh server -t "cd /srv/sm.levels.io && bash -l"` to land in a site # folder → session "sm-levels-io". Skips inside tmux and non-interactive # shells so scp/rsync/scripted ssh keep working. if command -v tmux >/dev/null 2>&1 && [ -z "$TMUX" ] && [[ $- == *i* ]]; then tm fi
@levelsio tweet media
Jerry the Cowboy@ldsc4303

@levelsio @dcbuilder Hey dude, how do you setup tmux, mosh, clipboards and all of that. Would love to get you dotfile and 80/20 it.

English
28
73
1.5K
775.7K
Irushi
Irushi@Im_IrushiK·
I'm a full stack developer, Scare me with one word.
Irushi tweet media
English
555
23
912
90K
Diogo Pereira
Diogo Pereira@diogper·
@hetmehtaa 1. Use AI to deep dive into concepts and understand them 2. Complete CTFs without AI
English
0
0
2
168
Het Mehta
Het Mehta@hetmehtaa·
How do you learn new things in Cybersecurity in 2026?
English
25
2
35
6.6K
Diogo Pereira
Diogo Pereira@diogper·
@SumitM_X Are you including the entities that are being queried by the application? Then how are we protecting against predictability and enumeration attacks ?
English
2
0
3
8.3K
SumitM
SumitM@SumitM_X·
Tech Lead tells you: "Never use UUID as primary key .." Whats your reply ?
English
157
9
754
289.4K
Diogo Pereira
Diogo Pereira@diogper·
@rand_longevity Adding motion to my every day: - Workout mid day - Yoga stretching before sleep - Work from different places morning and afternoon to make me walk
English
0
0
0
47
Rand
Rand@rand_longevity·
what are you doing to keep yourself healthy?
English
77
4
79
6K
Diogo Pereira
Diogo Pereira@diogper·
@levelsio Even if you are restricting your services to a tailnet network do you still do config hardening on the services? Depending on what is running and specially when you have shared hosting, one app compromised might serve as lateral movement for other apps...
English
2
0
0
1.4K
Diogo Pereira
Diogo Pereira@diogper·
@ishowcybersec There’s only 10 types of person in the world, those who understand this and those who don’t
English
2
0
7
1.2K
iShowCybersecurity
iShowCybersecurity@ishowcybersec·
Write something that only Hackers would understand
iShowCybersecurity tweet media
English
59
6
127
14.8K
Safwan AhmedMia
Safwan AhmedMia@SuperSaf·
Hot take: The UK has the best food in the world!
English
860
29
1.4K
580.1K