Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- #marshviperX
- setterm -blank 0
- echo "Welcome to the botnet."
- echo "What do you want your username to be?"
- echo ""
- read -p "> "
- while [[ -z "$REPLY" ]]; do
- echo "No username entered"
- read -p "> "
- done
- USERNAME=$REPLY
- useradd -m -G users,audio,lp,optical,storage,video,wheel,power -s /bin/bash $USERNAME
- clear
- echo "What do you want your password to be?"
- passwd $USERNAME
- clear
- sleep 3
- pacman -Syu --noconfirm
- clear
- echo "options snd-pcsp index=2" >> /etc/modprobe.d/modprobe.conf
- pacman -S alsa-utils alsa-oss --noconfirm
- clear
- echo "Press enter to adjust sound settings."
- echo ""
- read -p "> "
- clear
- su $USERNAME -c alsamixer
- alsactl store
- clear
- pacman -S xorg xf86-video-vesa xf86-input-keyboard xf86-input-mouse --noconfirm
- clear
- echo "Configuring xorg."
- sleep 5
- clear
- Xorg -configure
- cp /root/xorg.conf.new /etc/X11/xorg.conf
- clear
- echo "Setting up hotplugging."
- sleep 3
- pacman -S hal dbus xf86-input-evdev fam --noconfirm
- /etc/rc.d/hal start
- /etc/rc.d/fam start
- clear
- echo "Installing Openbox."
- sleep 3
- pacman -S openbox obconf obmenu firefox --noconfirm
- echo "exec ck-launch-session dbus-launch --exit-with-session openbox-session" >> /home/$USERNAME/.xinitrc
- chown $USERNAME /home/$USERNAME/.xinitrc
- mkdir -p /home/$USERNAME/.config/openbox/
- cp /etc/xdg/openbox/rc.xml /home/$USERNAME/.config/openbox/
- cp /etc/xdg/openbox/autostart.sh /home/$USERNAME/.config/openbox/
- chown $USERNAME /home/$USERNAME/.config/
- chown $USERNAME /home/$USERNAME/.config/openbox/
- chown $USERNAME /home/$USERNAME/.config/openbox/autostart.sh
- chown $USERNAME /home/$USERNAME/.config/openbox/rc.xml
- clear
- echo "Installing login manager."
- sleep 3
- pacman -S slim archlinux-themes-slim --noconfirm
- sed -i 's/current_theme default/current_theme archlinux-darch-grey/g' /etc/slim.conf
- sed -i '/logfile/ d' /etc/slim.conf
- echo "logfile /dev/null" >> /etc/slim.conf
- sed -i '/DAEMONS/ d' /etc/rc.conf
- echo "DAEMONS=(syslog-ng network crond alsa hal fam slim)" >> /etc/rc.conf
- clear
- echo "Setting up themes/fonts."
- sleep 3
- pacman -S tango-icon-theme archlinux-wallpaper ttf-ms-fonts ttf-dejavu ttf-bitstream-vera gnome-themes-extras openbox-themes --noconfirm
- echo "gtk-theme-name=\"Darklooks\"" >> /home/$USERNAME/.gtkrc-2.0
- echo "gtk-icon-theme-name=\"Tango\"" >> /home/$USERNAME/.gtkrc-2.0
- chown $USERNAME /home/$USERNAME/.gtkrc-2.0
- cp /home/$USERNAME/.gtkrc-2.0 /root/.gtkrc-2.0
- sed -i 's/Clearlooks/TropicBomb/g' /home/$USERNAME/.config/openbox/rc.xml
- mkdir /home/$USERNAME/.config/nitrogen/
- chown $USERNAME /home/$USERNAME/.config/nitrogen/
- echo "
- [:0.0]
- file=/usr/share/archlinux/wallpaper/archlinux-simplyblack.png
- mode=4
- bgcolor=# 0 0 0" >> /home/$USERNAME/.config/nitrogen/bg-saved.cfg
- chown $USERNAME /home/$USERNAME/.config/nitrogen/bg-saved.cfg
- clear
- echo "Do you want Flash Player, media codecs etc?"
- echo ""
- read -p "y/n";
- if [[ "$REPLY" =~ ^[yY] ]]; then
- clear;
- else
- clear
- echo "All done. Rebooting in 3..."
- sleep 3
- reboot;
- fi
- echo "Do you want codecs?"
- echo ""
- read -p "y/n";
- if [[ "$REPLY" =~ ^[yY] ]]; then
- pacman -S gstreamer0.10-{{good,ugly,base}{,-plugins},ffmpeg} --noconfirm
- clear;
- else
- clear;
- fi
- echo "Do you want Flash Player?"
- echo ""
- read -p "y/n";
- if [[ "$REPLY" =~ ^[yY] ]]; then
- if [ $(uname -m) == 'x86_64' ]; then
- wget $(wget -q http://labs.adobe.com/downloads/flashplayer10_64bit.html -O- | grep 'http\(.*\)\.so\.tar\.gz' -o)
- tar xzvf libflashplayer*.tar.gz
- mkdir -p /home/$USERNAME/.mozilla/plugins/
- mv libflashplayer.so /home/$USERNAME/.mozilla/plugins/
- chown $USERNAME /home/$USERNAME/.mozilla/
- chown $USERNAME /home/$USERNAME/.mozilla/plugins/
- chown $USERNAME /home/$USERNAME/.mozilla/plugins/libflashplayer.so
- rm libflashplayer*.tar.gz
- clear;
- else
- pacman -S flashplugin --noconfirm
- clear;
- fi
- else
- clear;
- fi
- echo "Do you want DVD decryption?"
- echo ""
- read -p "y/n";
- if [[ "$REPLY" =~ ^[yY] ]]; then
- pacman -S libdvdread libdvdcss libdvdnav --noconfirm
- clear;
- else
- clear;
- fi
- clear
- echo "All done. Rebooting in 3..."
- sleep 3
- reboot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement