Pedro's Fedora Linux setup: Difference between revisions

From PedrosBrainDump
Created page with " # CYBER SEC STUFF sudo dnf update -y sudo dnf install hydra gobuster wafw00f whatweb golang git wfuzz snapd -y snap install seclists sqlmap hash-id cd /tmp git clone https://github.com/tomnomnom/hacks.git cd hacks/html-tool go build -o html-tool main.go sudo cp html-tool /usr/local/bin cd /tmp git clone https://github.com/003random/getJS.git cd getJS go build -o getJS main.go sudo cp getJS /usr/local/bin curl -L -o burp_community_2024.8.4_linux.sh "https:/..."
 
No edit summary
 
(26 intermediate revisions by the same user not shown)
Line 1: Line 1:
  # CYBER SEC STUFF
  # OVERAL CONFIG
gsettings set org.gnome.desktop.peripherals.touchpad click-method areas
# UPDATE ENV
  sudo dnf update -y
  sudo dnf update -y
sudo dnf install hydra gobuster wafw00f whatweb golang git wfuzz snapd -y
snap install seclists sqlmap hash-id
cd /tmp
git clone https://github.com/tomnomnom/hacks.git
cd hacks/html-tool
go build -o html-tool main.go
sudo cp html-tool /usr/local/bin
cd /tmp
git clone https://github.com/003random/getJS.git
cd getJS
go build -o getJS main.go
sudo cp getJS /usr/local/bin
curl -L -o burp_community_2024.8.4_linux.sh "https://portswigger-cdn.net/burp/releases/download?product=community&version=2024.8.4&type=Linux"
chmod +x burp_community_2024.8.4_linux.sh
./burp_community_2024.8.4_linux.sh
   
   
# PRECONFIG ENV
cd ~
wget <nowiki>https://github.com/PedroMussato/b64ed/releases/download/v1.0.1/b64ed-1.0-1.fc40.x86_64.rpm</nowiki>
wget <nowiki>https://github.com/VSCodium/vscodium/releases/download/1.94.2.24286/codium-1.94.2.24286-el8.x86_64.rpm</nowiki>
wget <nowiki>https://github.com/balena-io/etcher/releases/download/v1.19.25/balena-etcher-1.19.25-1.x86_64.rpm</nowiki>
wget <nowiki>https://launchpad.net/veracrypt/trunk/1.26.14/+download/veracrypt-1.26.14-Fedora-40-x86_64.rpm</nowiki>
curl -L -o burp_community_2024.8.4_linux.sh "<nowiki>https://portswigger-cdn.net/burp/releases/download?product=community&version=2024.8.4&type=Linux</nowiki>"
wget <nowiki>https://github.com/logisim-evolution/logisim-evolution/releases/download/v3.9.0/logisim-evolution-3.9.0-1.x86_64.rpm</nowiki>
sudo dnf-3 config-manager --add-repo <nowiki>https://download.docker.com/linux/fedora/docker-ce.repo</nowiki>
echo '[owncloud-client]' >> /etc/yum.repos.d/owncloud.repo
echo 'name=ownCloud Client' >> /etc/yum.repos.d/owncloud.repo
echo 'baseurl=<nowiki>https://download.owncloud.com/desktop/ownCloud/stable/latest/linux/Fedora_39/'</nowiki> >> /etc/yum.repos.d/owncloud.repo
echo 'enabled=1' >> /etc/yum.repos.d/owncloud.repo
echo 'gpgcheck=1' >> /etc/yum.repos.d/owncloud.repo
echo 'gpgkey=<nowiki>https://download.owncloud.com/desktop/ownCloud/stable/latest/linux/Fedora_39/RPM-GPG-KEY'</nowiki> >> /etc/yum.repos.d/owncloud.repo
   
   
  #B64ED
  sudo rpm --import <nowiki>https://download.owncloud.com/desktop/ownCloud/stable/latest/linux/Fedora_39/repodata/repomd.xml.key</nowiki>
cd ~
wget https://github.com/PedroMussato/b64ed/releases/download/v1.0.0/b64ed-1.0-1.fc40.x86_64.rpm
sudo dnf install ~/ b64ed-1.0-1.fc40.x86_64.rpm
   
   
# DOCKER
  sudo dnf remove docker \
  sudo dnf remove docker \
                   docker-client \
                   docker-client \
Line 34: Line 36:
                   docker-engine-selinux \
                   docker-engine-selinux \
                   docker-engine
                   docker-engine
sudo dnf -y install dnf-plugins-core
sudo dnf-3 config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo
sudo dnf install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin -y
sudo systemctl start docker
   
   
  # VSCODIUM
  # DNF INSTALL
  cd ~
sudo dnf install <code>zig</code> php remmina neovim obs-studio thunderbird rpm-build rpmdevtools python3-pip hydra gobuster wafw00f whatweb golang wfuzz snapd docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin keepassxc owncloud-client ~/b64ed-1.0-1.fc40.x86_64.rpm ~/codium-1.94.2.24286-el8.x86_64.rpm ~/balena-etcher-1.19.25-1.x86_64.rpm ~/veracrypt-1.26.14-Fedora-40-x86_64.rpm ./logisim-evolution-3.9.0-1.x86_64.rpm -y
  wget https://github.com/VSCodium/vscodium/releases/download/1.94.2.24286/codium-1.94.2.24286-el8.x86_64.rpm
  sudo dnf install ~/codium-1.94.2.24286-el8.x86_64.rpm
# SNAP INSTALL
snap install seclists sqlmap hash-id spotify obs-studio
# FLATPAK INSTALL
flatpak install flathub org.kde.kdenlive
# GOLANG INSTALL
  cd /tmp
  git clone <nowiki>https://github.com/tomnomnom/hacks.git</nowiki>
cd hacks/html-tool
go build -o html-tool main.go
sudo cp html-tool /usr/local/bin
# installs nvm (Node Version Manager)
curl -o- <nowiki>https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.0/install.sh</nowiki> | bash
# download and install Node.js (you may need to restart the terminal)
nvm install 22
# verifies the right Node.js version is in the environment
node -v # should print `v22.11.0`
# verifies the right npm version is in the environment
npm -v # should print `10.9.0`
  curl -fsSL <nowiki>https://deno.land/install.sh</nowiki> | sh
curl --proto '=https' --tlsv1.2 -sSf <nowiki>https://sh.rustup.rs</nowiki> | sh
cd /tmp
git clone <nowiki>https://github.com/003random/getJS.git</nowiki>
cd getJS
go build -o getJS main.go
sudo cp getJS /usr/local/bin
# LOCAL INSTALL
cd ; chmod +x burp_community_2024.8.4_linux.sh
./burp_community_2024.8.4_linux.sh
   
   
  # OWNCLOUD DESKTOP APP
  # PYTHON INSTALL
  sudo rpm --import https://download.owncloud.com/desktop/ownCloud/stable/latest/linux/Fedora_39/repodata/repomd.xml.key
  pip install pyinstaller
sudo dnf config-manager --add-repo https://download.owncloud.com/desktop/ownCloud/stable/latest/linux/Fedora_39/owncloud-client.repo
sudo dnf clean all
sudo dnf install owncloud-client -y
sudo dnf upgrade owncloud-client -y
   
   
  # SPOTIFY
  # STARTING SERVICES
  snap install spotiy
  sudo systemctl start docker
   
   
  # KEEPASSXC
  sudo dnf update -y
  sudo dnf install keepassxc
  sudo dnf autoremove

Latest revision as of 13:27, 18 November 2024

# OVERAL CONFIG
gsettings set org.gnome.desktop.peripherals.touchpad click-method areas

# UPDATE ENV
sudo dnf update -y

# PRECONFIG ENV
cd ~
wget https://github.com/PedroMussato/b64ed/releases/download/v1.0.1/b64ed-1.0-1.fc40.x86_64.rpm
wget https://github.com/VSCodium/vscodium/releases/download/1.94.2.24286/codium-1.94.2.24286-el8.x86_64.rpm
wget https://github.com/balena-io/etcher/releases/download/v1.19.25/balena-etcher-1.19.25-1.x86_64.rpm
wget https://launchpad.net/veracrypt/trunk/1.26.14/+download/veracrypt-1.26.14-Fedora-40-x86_64.rpm
curl -L -o burp_community_2024.8.4_linux.sh "https://portswigger-cdn.net/burp/releases/download?product=community&version=2024.8.4&type=Linux"
wget https://github.com/logisim-evolution/logisim-evolution/releases/download/v3.9.0/logisim-evolution-3.9.0-1.x86_64.rpm


sudo dnf-3 config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo

echo '[owncloud-client]' >> /etc/yum.repos.d/owncloud.repo
echo 'name=ownCloud Client' >> /etc/yum.repos.d/owncloud.repo
echo 'baseurl=https://download.owncloud.com/desktop/ownCloud/stable/latest/linux/Fedora_39/' >> /etc/yum.repos.d/owncloud.repo
echo 'enabled=1' >> /etc/yum.repos.d/owncloud.repo
echo 'gpgcheck=1' >> /etc/yum.repos.d/owncloud.repo
echo 'gpgkey=https://download.owncloud.com/desktop/ownCloud/stable/latest/linux/Fedora_39/RPM-GPG-KEY' >> /etc/yum.repos.d/owncloud.repo

sudo rpm --import https://download.owncloud.com/desktop/ownCloud/stable/latest/linux/Fedora_39/repodata/repomd.xml.key

sudo dnf remove docker \
                  docker-client \
                  docker-client-latest \
                  docker-common \
                  docker-latest \
                  docker-latest-logrotate \
                  docker-logrotate \
                  docker-selinux \
                  docker-engine-selinux \
                  docker-engine

# DNF INSTALL
sudo dnf install zig php remmina neovim obs-studio thunderbird rpm-build rpmdevtools python3-pip hydra gobuster wafw00f whatweb golang wfuzz snapd docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin keepassxc owncloud-client ~/b64ed-1.0-1.fc40.x86_64.rpm ~/codium-1.94.2.24286-el8.x86_64.rpm ~/balena-etcher-1.19.25-1.x86_64.rpm ~/veracrypt-1.26.14-Fedora-40-x86_64.rpm ./logisim-evolution-3.9.0-1.x86_64.rpm -y

# SNAP INSTALL
snap install seclists sqlmap hash-id spotify obs-studio

# FLATPAK INSTALL
flatpak install flathub org.kde.kdenlive

# GOLANG INSTALL
cd /tmp
git clone https://github.com/tomnomnom/hacks.git
cd hacks/html-tool
go build -o html-tool main.go
sudo cp html-tool /usr/local/bin

# installs nvm (Node Version Manager)
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.0/install.sh | bash 

# download and install Node.js (you may need to restart the terminal)
nvm install 22

# verifies the right Node.js version is in the environment
node -v # should print `v22.11.0`

# verifies the right npm version is in the environment
npm -v # should print `10.9.0`

curl -fsSL https://deno.land/install.sh | sh

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

cd /tmp
git clone https://github.com/003random/getJS.git
cd getJS
go build -o getJS main.go
sudo cp getJS /usr/local/bin

# LOCAL INSTALL
cd ; chmod +x burp_community_2024.8.4_linux.sh
./burp_community_2024.8.4_linux.sh

# PYTHON INSTALL
pip install pyinstaller

# STARTING SERVICES
sudo systemctl start docker

sudo dnf update -y
sudo dnf autoremove