Antigravity.py (2020)
github.com
Antigravity.py (2020)
1–10 of 48 posts
Re: Antigravity.py (2020)
#2Related: https://xkcd.com/353/
Re: Antigravity.py (2020)
#3TIL python has a webbrowser module
Re: Antigravity.py (2020)
#4Related: https://xkcd.com/353/
[deleted]
Re: Antigravity.py (2020)
#5TIL python has a webbrowser module
Me too... Hilarious!
Re: Antigravity.py (2020)
#6I get a type error in line 13 running the code:
TypeError: openssl_md5() takes no keyword argumentsRe: Antigravity.py (2020)
#7Related: https://xkcd.com/353/
Well yes. From the OP link:
webbrowser.open("https://xkcd.com/353/")Re: Antigravity.py (2020)
#8TIL python has a webbrowser module
And it's even using the user preferred browser!
Tried it on my MacBook M1 and it opens Brave which is my main browser.
Wonder if it's using the same mechanism as the macOS open(1) command does for opening URLs. Or maybe even calling the /usr/bin/open binary.
Re: Antigravity.py (2020)
#9Related: https://xkcd.com/353/
Well, it does have "float" in the code, doesn't it?
Re: Antigravity.py (2020)
#10This looked innocuous at first glance, but this "antigravity" Easter egg has been found to have security implications.
See "Hacking with Environment Variables", which specifically exploits the antigravity module for arbitrary code execution - https://www.elttam.com/blog/env/#content
Previous HN comments: https://news.ycombinator.com/item?id=23828045