Skip to main content

Posts

Showing posts from April, 2019

download win 10 official directly

https://www.microsoft.com/en-us/software-download/windows10ISO use useragent changer extension in borwser and change user agent of android/linux/macos and visit download link https://chrome.google.com/webstore/detail/user-agent-switcher-for-c/djflhoibgkdhkhhcedjiklpkjnoahfmg https://addons.mozilla.org/en-US/firefox/addon/uaswitcher/   other microsoft direct download link   https://tb.rg-adguard.net/public.php

bash scripting

touch hello.sh #! /bin/bash #this is a comment echo "hello world" ------------------------------------------------------------------------------------------------------- print to screen : echo echo 'hey' echo hello echo "hey " variables are not parsed in single quoted echo -------------------------------------------------------------------------------------------------- system variables  : env, printenv , set command echo $HOME echo $BASH echo $BASH_VERSION echo $PWD echo $PATH ------------------------------------------------------------------------------------------------------- user defined variable : varname=valueofvar name=myname echo my name is $name variable naming:not starting with number and no special characters except _ ---------------------------------------------------------------------------------------------------------- reading user input: read echo enter name read name echo hello $name echo enter age and sex r

priveate meta search eingine

sudo apt - get install git build - essential libxslt - dev python - dev python - virtualenv python - babel zlib1g - dev libffi - dev libssl - dev     cd / usr / local sudo git clone https : // github . com / asciimoo / searx . git sudo useradd searx - d / usr / local / searx sudo chown searx : searx - R / usr / local / searx   sudo - u searx - i cd / usr / local / searx virtualenv searx - ve . ./ searx - ve / bin / activate ./ manage . sh update_packages   sed - i - e "s/ultrasecretkey/`openssl rand -hex 16`/g" searx / settings . yml   python searx / webapp . py   Go to http://localhost:8888 If everything works fine, disable the debug option in settings.yml: sed - i - e "s/debug : True/debug : False/g" searx / settings . yml     src: https://asciimoo.github.io/searx/dev/install/installation.html

install fedora from debian

  # apt-get update # apt-get install rpm yum curl mdadm lvm2 xfsprogs #cfdisk /dev/sda  make new partition using gparted or cfdisk #mkfs.ext4 /dev/sda4 # mount /dev/sda3 /mnt   Canonical repository location is at ​ jarowit . git clone http://dozzie.jarowit.net/code/yumbootstrap.git There is a supplementary location at ​ GitHub . git clone https://github.com/dozzie/yumbootstrap   install dependencies packges sudo apt install python-setuptools debhelper   dpkg-buildpackage -b -uc   yumbootstrap**.deb is at home directory  install using sudo dpkg -i yumbootstrap**.dpkg /usr/sbin/yumbootstrap --list-suites  to find supported rpm distros   $ sudo yumbootstrap --verbose fedora-22 /mnt         src: https://wiki.centos.org/HowTos/ManualInstall http://dozzie.jarowit.net/trac/wiki/yumbootstrap  

sxhkd volume andbrightness config for dwm on void

xbps-install  sxhkd ------------ mkdir .config/sxhkd cd .config/sxhkd nano/vim sxhkdrc -------------------------------- XF86AudioRaiseVolume         amixer -c 1 -- sset Master 2db+ XF86AudioLowerVolume         amixer -c 1 -- sset Master 2db- XF86AudioMute         amixer -c 1 -- sset Master toggle alt + shift + Escape         pkill -USR1 -x sxhkd XF86MonBrightnessUp          xbacklight -inc 20 XF86MonBrightnessDown          xbacklight -dec 20 ------------------------------------------------------------- amixer -c card_no -- sset Interface volume run alsamixer to find card no and interface names xbps-install -S git git clone https://git.suckless.org/dwm xbps-install -S base-devel libX11-devel libXft-devel libXinerama-devel  vim config.mk # FREETYPEINC = ${X11INC}/freetype2 #comment for non-bsd make clean install   cp config.def.h config.h vim config.h xbps-install -S font-symbola #for emoji on statusbar support     void audio config xbps-i

openvas

apt-get install openvas openvas-setup netstat -antp root@kali:~# openvasmd --user =admin --new-password =sup3rs3cr3t openvas-start openvas-stop firefox https://127.0.0.1:9392/ configuration>>targets>>star icon(new target)>>add ip to scan scan>>task>> new task>> start task src: https://www.kali.org/tutorials/configuring-and-tuning-openvas-in-kali-linux/