r/AskComputerScience • • Jul 22 '19

I tried SQL injection without intention to hack, and got IP banned. What should I do?

35 Upvotes

Hello. I'm a computer science student, and I've just started learning about computer security. So I tried ' or '1' = '1 in an old website on a login page, and then I got an IP banned from that website. It said contact this email for any inquiries, so I apologized them by email. But still, I'm afraid that I could be tracked down, especially that I'm using company's internet. I didn't expect it to ever happen, nor having any intention to hack anyone.

I tried an XSS on another website like <script>alert('xss')</script> and it doesn't do anything, so I thought that attack prevention would just act as if the input is a string. I didn't really think I could get banned for doing this. I should have used VPN or just simulate that in my own website, not trying in the real site.

Edit: After some research on the website. This website, along with other similar webs, use the same content management system, which has been discontinued for many years. https://packetstormsecurity.com/ literally shows the vulnerability on the top Google search, including XSS and SQL Injection. There's even a Youtube video of successfully hacking the website with this content management system (partly that the admin's MD5 hashed password can be accessed and cracked easily).

Apparently, the initial website is safe from XSS, but several others isn't at all. Also, me discovering the vulnerability isn't the first time as well. It was discovered as early as 10 years ago.

For those wondering, the website looks slightly newer than Reddit in 2005, older than Twitter in 2006.

This will be my very first, and most important lesson. I will not try to do anything unsupervised anymore. Thank you for all of your advice.

By the way, the admin's personal info is publicly available (google-able) in the website, including the phone number. Should I personally contact them and inform about this?


r/AskComputerScience • • May 24 '19

A book about C Programming- written by a Redditor

35 Upvotes

I hope it's okay to post this here! It's a shout out to a Redditor who just got a book published; he didn't ask me to post, but I think he deserves some recognition. Thanks!

https://www.amazon.com/Hands-Network-Programming-programming-optimized/dp/1789349869


r/AskComputerScience • • May 17 '19

Is it possible to create a language that is faster than the language it is written in?

35 Upvotes

r/AskComputerScience • • Apr 02 '19

Free Course on Operating Systems

35 Upvotes

We have a free course on Operating Systems ! Hope you will find it helpful

https://www.vigneshsekar.net/introduction-to-operating-systems


r/AskComputerScience • • Feb 02 '19

How is it possible for a mechanical hard drive to move the write-needle with such high precision?

35 Upvotes

r/AskComputerScience • • Dec 17 '18

How are password managers safer than 1 password for all accounts?

35 Upvotes

In both cases an attacker can access all your accounts (well, non-2FA accounts) by getting just one password, right?


r/AskComputerScience • • Dec 06 '18

Do I deserve to be proud of this small accomplishment?

35 Upvotes

So I started really learning how to code in python only a couple days ago, and since then I decided to code something up in my own time. The problem was that someone posted a large .txt file of something that i'm sure no one would take the time to parse through by hand. I decide to write a program that looks for word occurrences and matches them to a specific string in the .txt file. I'm sure that it is easy for many programmers, but I just started this and I was able to write something I felt was decent. As a beginner, should I be proud of writing something small?

I'm also looking for ways on how to make it a better program; Maybe write the program so that you can search certain strings by category? Also, should I post it to github?


r/AskComputerScience • • Jun 09 '14

Why can't Windows accurately estimate file transfer time?

35 Upvotes

r/AskComputerScience • • Apr 08 '26

Why does it take my computer slightly longer to tell me when I've entered the wrong login password than when I enter the right password?

34 Upvotes

I've noticed this on both Windows and Linux. If I enter the correct password, it almost instantly starts the login. But if it's the wrong password it takes like a second or so to tell me it's wrong.


r/AskComputerScience • • Jul 13 '22

how useful is big O, really?

34 Upvotes

probably a moronic question.

but say you have 2 algorithms and you determine both are O(log n). does this mean both algorithms are just as good as one another?

to be clear, in no way am I saying you shouldn't analyze your program/algorithm. just wondering about the utility of big O itself.

EDIT: I should have said time and space complexity is O(log n).


r/AskComputerScience • • May 09 '22

"AI is just compression" ?

34 Upvotes

Hi. I came across an AI engineer mentioning in an interview that "AI is just compression". I was struggling to understand what this means. I figured he was talking about the link of information theory to AI but not sure. He also mentioned the hutter prize which led him to this epiphany of "AI is just compression". It seems like a gross oversimplification but maybe there is some logic in there that I am unable to understand.

Also, can you guys point me towards some resources on this topic. I would love to learn more about "AI is just compression"

Edit: I am talking about these 2 things

https://en.wikipedia.org/wiki/Hutter_Prize

https://youtu.be/boiW5qhrGH4


r/AskComputerScience • • May 30 '21

What would be a good/realistic final year project for a college computer science student that's relevant to the current technologies in use today (2021)?

34 Upvotes

r/AskComputerScience • • May 11 '21

Looking for educational CS podcasts

34 Upvotes

Hi,

I spend a lot of time listening to podcasts. I'm finishing my second year of CS and would like to use the time to widen my knowledge in the field. Most podcasts I've found so far have been a bit too specialized and seem to focus more on tech news. I'm looking for something educational but not for complete beginners.

I'd appreciate any help!
Cheers


r/AskComputerScience • • Apr 24 '21

Interesting YouTube channels

34 Upvotes

Does anyone have any suggestions of interesting YouTube channels that go over cs related topics. I’ve recently been watching nvidias videos and love learning about new technology and how it works. Preferably with videos over 10 minutes

Sorry if this isn’t the right place to ask


r/AskComputerScience • • Apr 19 '21

Whats the difference between RAM and cache?

34 Upvotes

I’m struggling to understand what a RAM is, looked up and it really sounds like what the cache does im confused


r/AskComputerScience • • Feb 15 '21

Did some sort of GPU revolution happen in the last 10-15 years? Is there a good non-technical description of it?

34 Upvotes

Hi,

I'm a grad student working in molecular simulations for life sciences. My background is not comp sci, but I can do stuff in python, know some ML, and do some informatics work with my domain data. So not totally ignorant.

I am reading literature for a review I need to write and I keep running into phrases like these (see bold):

'Over the past several decades, improvements in computing hardware and in the algorithms and software used for MD have allowed longer and cheaper simulations. Recent improvements have been particularly remarkable. Highly specialized hardware (Shaw et al., 2008, 2014) has led to a major increase in maximum achievable speed, allowing certain simulations to reach millisecond timescales. Perhaps more importantly, GPUs have allowed simulations running on one or two inexpensive computer chips to outperform those previously performed on most supercomputers (Salomon-Ferrer et al., 2013). These GPUs have made simulations on biologically meaningful timescales accessible to far more researchers than ever before.'

This excerpt is from 2018. As far as I know, we've had GPUs for decades. What was the big change that led to GPUs outperforming prior supercomputers? I know about moore's law, but why didn't CPUs get just as good just as quickly (the Salomon reference makes a big deal of how GPUs outperformed CPU supercomputers, from a quick glance)?

This comes up all the time in the ML literature as well.


r/AskComputerScience • • Jan 07 '20

Can someone explain?

Post image
34 Upvotes

r/AskComputerScience • • Dec 20 '19

What can I code in my free time that will be fun and entertaining as a computer science student?

34 Upvotes

Hello everyone, I live on the south hemisphere so holidays just started here and I have 1 month free with not much to do. Up until this moment every time I programmed something it was because I was asked to do it. Now I want to code something for the fun of it. I know how to code in python and c++, but I dont mind learning a new language What do you like to code on your free time? Web development? App development? Videos games development? There are so many options that I just cant decide.


r/AskComputerScience • • Aug 30 '19

CS lingo "cheat sheet"

34 Upvotes

I'm fairly new to computer science and, because of this, I don't know a whole lot of terminology relating to it. I was wondering if some of y'all could put together a glossary-type list of CS terms?

I don't even know which terms I don't know so any help would be appreciated (I won't be offended if you'd assume I know absolutely nothing because you wouldn't be that far off)


r/AskComputerScience • • Apr 15 '19

What are some good steps to take to hide my IP address?

34 Upvotes

To make it short and simple, I’m a security freak and am paranoid about surveillance. I just want to easily stay anonymous online and hide/mask my identity, preferably without having to spend any money.


r/AskComputerScience • • Mar 07 '19

Do people still use php?

34 Upvotes

So the other day my friend told me how I shouldn’t learn php and learn Javascript instead as nobody uses php nowadays. To what extent is this true?


r/AskComputerScience • • Apr 10 '17

Hey r/AskComputerScience, what are some of your favorite quotes regarding computers, programming, ai, etc. ?

34 Upvotes

r/AskComputerScience • • Oct 07 '15

who do you consider the 3 most influential computer scientists of all time

34 Upvotes

in your opinion


r/AskComputerScience • • Jun 07 '26

DSA Got Me a Job. Now I Want to Understand Computer Science

33 Upvotes

Hi everyone,

I'm a CS graduate (COVID batch) with 4 years of industry experience. During my college days, I focused almost entirely on DSA, and that helped me secure a decent job. Four years later, I've been contributing well at work and growing as a software engineer.

A few days ago, while exploring some topics out of curiosity, a series of questions crossed my mind. I didn't have good answers to many of them, so I started reading blogs and listening to podcasts. Surprisingly, it made me fall in love with Computer Science all over again.

Some of the questions that fascinated me were:

  1. How do high-level languages get compiled and executed on different systems? (Computer Architecture)

  2. How are operating systems designed, and how do our applications interact with them? (Operating Systems)

  3. How do CPUs and GPUs actually work under the hood?

  4. How is it possible for me to connect to an AWS instance running in the US with seemingly negligible latency?

These questions made me realize how many fundamental CS concepts I missed or didn't fully appreciate during college.

Now, even though learning these topics isn't directly required for my current job, I want to study them properly. I want to become a better engineer by understanding the foundations of computing.

Could you recommend books, YouTube playlists, courses, or any other resources that helped you learn Computer Architecture, Operating Systems, Computer Networks, and related subjects?

NOTE: The message has been rephrased using AI to make it more readable, while the curiosity is genuine.