Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Parzi86635y@groxx can i choose both?
also "ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash" is rather interesting... -
@Parzi Oh, these are important details!
for i in range (1, 1000000):
file = open(f"penis{i}.txt", "a+")
print("Penis", file=file)
file.close() -
So? Getting a root terminal is normal, as those machines are virtual machines and reset if misused.
-
@groxx running in containers as root is actually discouraged practice, because every user that has jumped out of a container into the OS has been root inside.
-
Parzi86635y@sbiewald my main concern is someone bankrupting them with the infinite bandwidth. (Also, confirmed: Amazon server!)
also what can be done with ```/etc/cloud/cloud.cfg```? Looks like some cloud config, but why would it be in every machine? -
@Parzi get the container's IP, and see if you can figure out their internal network from there.
-
@arcsector Just because you're root inside a container, does not mean the container runs privileged.
-
Oh, almost forgot!
I found a pretty awesome DEFCON talk about docker container escapes. You may want to take a look. :)
https://youtu.be/1FB58EVWAOU -
@sbiewald maybe i wasnt clear: you shouldnt do either. You shouldnt be running a container with root and you shouldnt be root inside the container.
My Intro to CIS class uses "Cengage" for programming sandboxes and whatnot.
Whoops.
rant