![]() Wget with proxy download#usr/bin/curl you prefer not interrupting user, but warning him that he is about to download stuff on the internet from a non-networked Template, that section could be changed to simply call the -proxy (here curl-proxy as an exemple) instead of exiting and asking the user to change curl to curl-proxy manually…: if thenĮcho "The attempted downloading command was: curl > &2Įcho "Automatically translating to: curl-proxy >&2 ![]() usr/bin/curl "curl download attempt not in TemplateVM. Type CTRL+C to prevent the download now!" >&2 (network assigned)." >&2Įcho "Continuing in 3 seconds. (Untrusted)." >&2Įcho "You attempted to download a file with curl in a Template WITH DIRECT INTERNET ACCESS. (no network assigned)." >&2Įcho "The attempted downloading command was: curl >&2Įcho " 1- need to replace curl by curl-proxy in previous attempted shell command line (Recommended)." >&2Įcho " 2- assign a Networking qube to this Template which should consequently be less trusted. ![]() If ! $(qubesdb-read /qubes-gateway > /dev/null 2>&1) thenĮcho "You attempted to download a file with curl in a Template without direct internet access.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |