Hey everyone, ive been chipping away at this question and and every thing i try dosnt work.
I have tried the following
• ls -la /etc/vda
•ls -il /etc/vda
•df -h /etc/vda
the df command has showed me 3.9 gig and i have tried 3.900 and 3900 for the format they ask and nothing works, I am sure im missing something here, but can anyone give me a hint or point me in the direction of what i should google to see what i can find.
Hey dude, they mention a method of listing the files with fdisk that is probably better for getting the answer. Also read the question a few times, its almost like a trick question.
-onthesauce
Sooo I just to clarify the above for those that don’t like using pwn box or hasn’t paid for a subscription so if they’re working through this on a local VM… The question requires you to use the PWN box and run sudo fdisk -l.
I am very lost here.
Typing $ sudo fdisk -l on the pwnbox only shows /dev/sda1 and /dev/sda2.
Trying sudo fidisk -l /dev/vda displays: fdisk: cannot open /dev/vda: No such file or directory
Typing “$ sudo lsblk” only reveals that sda1 and sda2 are partitions.
“$sudo blkid” also lonly shows /dev/sda1 and /dev/sda2
Not sure what else to do here. /dev/vda doesn’t seem to exist anymore. Of course I have tried to enter the sizes for sda1 and sda2 but they don’t work either.
So I figured out the answer with help from ChatGPT… I had to type “$ sudo dmesg | grep sda” (vda doesn’t exist, and seems to have been replaced by sda" There it displays the GiB in format “XXX”