This requires `cups` to be installed. Run the following on the attacker box beforehand: 1. `lpadmin -p printer -v socket://localhost -E` to create a virtual printer; 2. `lpadmin -d printer` to set the new printer as default; 3. `cupsctl --remote-any` to enable printing from the Internet.
GTFO · Tool
lp
upload
File UploadPrivilege Escalation Linux
upload
File UploadPrivilege Escalation Linux
This requires `cups` to be installed. Run the following on the attacker box beforehand: 1. `lpadmin -p printer -v socket://localhost -E` to create a virtual printer; 2. `lpadmin -d printer` to set the new printer as default; 3. `cupsctl --remote-any` to enable printing from the Internet.
upload
File Upload Linux
This requires `cups` to be installed. Run the following on the attacker box beforehand: 1. `lpadmin -p printer -v socket://localhost -E` to create a virtual printer; 2. `lpadmin -d printer` to set the new printer as default; 3. `cupsctl --remote-any` to enable printing from the Internet.