add root base include

This commit is contained in:
qvqc 2021-03-18 08:47:35 -04:00
parent 62f6f09550
commit f2faed8f3f
No known key found for this signature in database
GPG Key ID: 9EB04103C6BE892D
24 changed files with 61124 additions and 0 deletions

View File

@ -0,0 +1,3 @@
[main]
plugins=keyfile
dns=none

View File

@ -0,0 +1,5 @@
#!/bin/sh
/bin/macchanger -r $1

2
include/etc/dhcpcd.conf Normal file
View File

@ -0,0 +1,2 @@
noipv6rs
noipv6

59657
include/etc/hosts Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,37 @@
# Generated by iptables-save v1.8.3 on Tue Aug 13 19:54:42 2019
*filter
:INPUT ACCEPT [1620:1504532]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [1125:862631]
-A OUTPUT -p tcp -m owner --uid-owner 1000 -m tcp --dport 9040 -j ACCEPT
-A OUTPUT -p udp -m owner --uid-owner 1000 -m udp --dport 53 -j ACCEPT
-A OUTPUT ! -o lo -m owner --uid-owner 1000 -j DROP
COMMIT
# Completed on Tue Aug 13 19:54:42 2019
# Generated by iptables-save v1.8.3 on Tue Aug 13 19:54:42 2019
*nat
:PREROUTING ACCEPT [0:0]
:INPUT ACCEPT [0:0]
:OUTPUT ACCEPT [37:3709]
:POSTROUTING ACCEPT [63:5269]
-A OUTPUT -d 10.192.0.0/10 -p tcp -j REDIRECT --to-ports 9040
-A OUTPUT ! -o lo -p tcp -m owner --uid-owner 1000 -m tcp -j REDIRECT --to-ports 9040
-A OUTPUT ! -o lo -p udp -m owner --uid-owner 1000 -m udp --dport 53 -j REDIRECT --to-ports 53
-A OUTPUT -d 10.192.0.0/10 -p tcp -m owner --uid-owner 1000 -j REDIRECT --to-ports 9040
COMMIT
# Completed on Tue Aug 13 19:54:42 2019
# Generated by iptables-save v1.8.3 on Tue Aug 13 19:54:42 2019
*mangle
:PREROUTING ACCEPT [12203:11910353]
:INPUT ACCEPT [12203:11910353]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [12051:4122605]
:POSTROUTING ACCEPT [12040:4118538]
COMMIT
# Completed on Tue Aug 13 19:54:42 2019
# Generated by iptables-save v1.8.3 on Tue Aug 13 19:54:42 2019
*raw
:PREROUTING ACCEPT [12209:11910749]
:OUTPUT ACCEPT [12057:4123001]
COMMIT
# Completed on Tue Aug 13 19:54:42 2019

6
include/etc/ntpd.conf Normal file
View File

@ -0,0 +1,6 @@
# Default openntpd config
servers pool.ntp.org
constraints from "https://www.google.com"
constraints from "https://github.com"

1
include/etc/resolv.conf Normal file
View File

@ -0,0 +1 @@
nameserver 127.0.0.1

View File

@ -0,0 +1,10 @@
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=Script
Type=Application
Exec=/home/anon/.local/bin/hardFox.sh
Terminal=false
StartupNotify=false
Hidden=false

View File

@ -0,0 +1,53 @@
[General]
account_name=
allow_background_mining=false
auto_donations_amount=50
auto_donations_enabled=false
blackTheme=true
blockchainDataDir=
bootstrapNodeAddress=
customDecorations=false
daemonFlags=
daemonPassword=
daemonUsername=
fiatPriceCurrency=xmrusd
fiatPriceEnabled=false
fiatPriceProvider=kraken
fiatPriceToggle=false
hideBalance=false
historyHumanDates=true
historyShowAdvanced=false
is_recovering=false
is_recovering_from_device=false
is_trusted_daemon=false
kdfRounds=1
keyReuseMitigation2=true
language=
locale=
lockOnUserInActivity=true
lockOnUserInActivityInterval=10
logCategories=
logLevel=0
miningIgnoreBattery=true
nettype=0
payment_id=
receiveShowAdvanced=false
remoteNodeAddress=
remoteNodeRegion=
remoteNodeService=
restore_height=0
segregatePreForkOutputs=true
segregationHeight=0
showPid=false
transferShowAdvanced=false
useRemoteNode=true
walletMode=0
wallet_path=
[QQControlsFileDialog]
favoriteFolders=@Invalid()
height=0
sidebarSplit=118.575
sidebarVisible=false
sidebarWidth=80
width=0

View File

@ -0,0 +1,37 @@
<?xml version="1.0" encoding="UTF-8"?>
<channel name="xfce4-desktop" version="1.0">
<property name="backdrop" type="empty">
<property name="screen0" type="empty">
<property name="monitorVirtual-1" type="empty">
<property name="workspace0" type="empty">
<property name="color-style" type="int" value="0"/>
<property name="image-style" type="int" value="5"/>
<property name="last-image" type="string" value="/usr/share/backgrounds/xfce/xfce-stripes.png"/>
</property>
<property name="workspace1" type="empty">
<property name="color-style" type="int" value="0"/>
<property name="image-style" type="int" value="5"/>
<property name="last-image" type="string" value="/usr/share/backgrounds/xfce/xfce-stripes.png"/>
</property>
<property name="workspace2" type="empty">
<property name="color-style" type="int" value="0"/>
<property name="image-style" type="int" value="5"/>
<property name="last-image" type="string" value="/usr/share/backgrounds/xfce/xfce-stripes.png"/>
</property>
<property name="workspace3" type="empty">
<property name="color-style" type="int" value="0"/>
<property name="image-style" type="int" value="5"/>
<property name="last-image" type="string" value="/usr/share/backgrounds/xfce/xfce-stripes.png"/>
</property>
</property>
</property>
</property>
<property name="desktop-icons" type="empty">
<property name="style" type="int" value="0"/>
</property>
<property name="last" type="empty">
<property name="window-width" type="int" value="653"/>
<property name="window-height" type="int" value="615"/>
</property>
</channel>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<channel name="xfce4-screensaver" version="1.0">
<property name="saver" type="empty">
<property name="mode" type="int" value="0"/>
</property>
<property name="lock" type="empty">
<property name="enabled" type="bool" value="false"/>
</property>
</channel>

View File

@ -0,0 +1,42 @@
<?xml version="1.0" encoding="UTF-8"?>
<channel name="xsettings" version="1.0">
<property name="Net" type="empty">
<property name="ThemeName" type="string" value="Adwaita-dark"/>
<property name="IconThemeName" type="empty"/>
<property name="DoubleClickTime" type="empty"/>
<property name="DoubleClickDistance" type="empty"/>
<property name="DndDragThreshold" type="empty"/>
<property name="CursorBlink" type="empty"/>
<property name="CursorBlinkTime" type="empty"/>
<property name="SoundThemeName" type="empty"/>
<property name="EnableEventSounds" type="empty"/>
<property name="EnableInputFeedbackSounds" type="empty"/>
</property>
<property name="Xft" type="empty">
<property name="DPI" type="empty"/>
<property name="Antialias" type="empty"/>
<property name="Hinting" type="empty"/>
<property name="HintStyle" type="empty"/>
<property name="RGBA" type="empty"/>
</property>
<property name="Gtk" type="empty">
<property name="CanChangeAccels" type="empty"/>
<property name="ColorPalette" type="empty"/>
<property name="FontName" type="empty"/>
<property name="MonospaceFontName" type="empty"/>
<property name="IconSizes" type="empty"/>
<property name="KeyThemeName" type="empty"/>
<property name="ToolbarStyle" type="empty"/>
<property name="ToolbarIconSize" type="empty"/>
<property name="MenuImages" type="empty"/>
<property name="ButtonImages" type="empty"/>
<property name="MenuBarAccel" type="empty"/>
<property name="CursorThemeName" type="empty"/>
<property name="CursorThemeSize" type="empty"/>
<property name="DecorationLayout" type="empty"/>
</property>
<property name="Gdk" type="empty">
<property name="WindowScalingFactor" type="empty"/>
</property>
</channel>

View File

@ -0,0 +1,5 @@
{
"config_version": 3,
"oneserver": false,
"proxy": "socks5:127.0.0.1:9050::"
}

View File

@ -0,0 +1,10 @@
#!/bin/bash
cd ~/.mozilla/firefox/
if [[ $(grep '\[Profile[^0]\]' profiles.ini) ]]
then PROFPATH=$(grep -E '^\[Profile|^Path|^Default' profiles.ini | grep -1 '^Default=1' | grep '^Path' | cut -c6-)
else PROFPATH=$(grep 'Path=' profiles.ini | sed 's/^Path=//')
fi
echo $PROFPATH

View File

@ -0,0 +1,24 @@
#!/bin/bash
rm -r ~/.mozilla/
notify-send 'Securing Firefox' 'One momment while we harden User.js' --icon=applications-internet -t 11000
timeout 10 firefox --headless --offline
#get new firefox profile
profilePath=$(/home/anon/.local/bin/findFirefoxProfile.sh)
## Get current User.js file from pyllyukko/user.js !!FIXTHIS, SHIP LOCAL FORK!!
##wget --retry-connrefused --waitretry=1 --read-timeout=20 --timeout=15 -t 0 https://raw.githubusercontent.com/pyllyukko/user.js/master/user.js -O /tmp/user.js
## Disable JavaScript
echo user_pref\(\"javascript.enabled\", false\)\; >> ~/.local/share/user.js
## Set Homepage
echo user_pref\(\"browser.startup.homepage\", \"https://check.torproject.org\|https://browserleaks.com\"\)\; >> ~/.local/share/user.js
## Enable Onions
sed -i '/Onion/ s/true/false/' ~/.local/share/user.js
## Copy modified user.js to firefox profile directory
mv ~/.local/share/user.js ~/.mozilla/firefox/$profilePath/user.js
notify-send 'Firefox is ready!' 'Enjoy your javascript free experience.' --icon=face-cool -t 6000

View File

@ -0,0 +1,16 @@
[Desktop Entry]
Name=Monero GUI
GenericName=Monero-GUI
X-GNOME-FullName=Monero-GUI
Comment=Monero GUI
Keywords=Monero;
Exec=/usr/bin/monero-wallet-gui %u
Terminal=false
Type=Application
Icon=monero
Categories=Network;GNOME;Qt;
MimeType=x-scheme-handler/monero;x-scheme-handler/moneroseed
StartupNotify=true
X-GNOME-Bugzilla-Bugzilla=GNOME
X-GNOME-UsesNotifications=true

File diff suppressed because it is too large Load Diff

24
include/etc/skel/.xinitrc Normal file
View File

@ -0,0 +1,24 @@
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
#export LC_CTYPE="en_US.UTF-8"
export XFCE_PANEL_MIGRATE_DEFAULT=1
#if [ -d /etc/X11/xinit/xinitrc.d ]; then
# for f in /etc/X11/xinit/xinitrc.d/*; do
# [ -x "$f" ] && . "$f"
# done
# unset f
#fi
# exec gnome-session
# exec startkde
exec startxfce4
# ...or the Window Manager of your choice

1
include/etc/sudoers Normal file
View File

@ -0,0 +1 @@
## Disable sudo for default user

4
include/etc/sysctl.conf Normal file
View File

@ -0,0 +1,4 @@
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
net.ipv6.conf.eth0.disable_ipv6 = 1

5
include/etc/tor/torrc Normal file
View File

@ -0,0 +1,5 @@
FascistFirewall 1
VirtualAddrNetworkIPv4 10.192.0.0/10
AutomapHostsOnResolve 1
TransPort 9040
DNSPort 53

5
include/usr/bin/setupFirewall Executable file
View File

@ -0,0 +1,5 @@
#!/bin/sh
/bin/ln -s /etc/sv/iptables /var/service/
[ -f /var/service/iptables ] && sv start iptables

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB