mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #2405] Script to spoof Opera browser #1605
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#1605
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jackTaw88 on GitHub (Feb 15, 2019).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2405
Hi,
what is the best (possible/optimal) way to spoof a closed source web browser like opera?
For example this scipt works perfect:
Thank you
@chiraag-nataraj commented on GitHub (Feb 17, 2019):
I'm not sure I understand what you're trying to do here. If you're trying to make it look as though you are using Opera when you are, in fact, using a different browser, this has nothing to do with firejail and everything to do with changing your "user agent" in the browser.
But you seem to possibly be asking how to jail Opera (restricting what it can do). If that is the case, there's no perfect/"optimal" answer. I personally use the following combination (in general) when designing my personal profiles:
private-tmp,read-only /tmp/.X11-unix,private-srv,private-dev,disable-mnt,private-opt emp,shell none,seccomp,seccomp.block-secondary,noroot,caps.drop all,apparmor,nonewprivs,ipc-namespace,machine-id,nodbus,nou2f,nogroups,net none,netfilter,memory-deny-write-execute,noexec ${HOME},noexec /tmp,noexec ${RUNUSER},blacklist /usr/local/bin,blacklist /usr/local/sbin,blacklist /boot(some of these - e.g.net none- are overridden in specialized profiles, but I put this in acommon.incfile and source it in all of my personal profiles).whitelistonly the config files/folders needed for the program to function and${DOWNLOADS}(for file transfers).whitelistadditionalXDGdirectories (e.g.${DOCUMENTS},${MUSIC}, etc). In the case of myfirefoxandchromiumprofiles, I don't do this.private-bin,private-etc, andprivate-lib(private-libcan be more tedious to figure out, so I sometimes skip it).whitelistfiles/directories in/usr/share.Does that help?
@jackTaw88 commented on GitHub (Feb 20, 2019):
I don't trust closed source softwares. It can get screenshots from my machine anytime, it can identify (create a fingerprint of my machine) from my mac, local-ip, directory structure ...) ... I want to spoof them...
But I need a fast and free and not-configurable vpn which is embeeded to opera :)
I will read your answer... I will try to make more advance script. If I will need help I will write again here.
Thank you