-
Posts
2637 -
Joined
-
Last visited
-
Days Won
89
Everything posted by Zatarra
-
Ban si edit fast!
-
As dori si eu una pentru fratemeo. Ms anticipat Edit: Ahh.. dupa caclulele mele exact la limita am aparut Edit: Scuze de forward, vroiam sa dau reply dar asa patesc cand sunt pe Windows, nu ma simt in largul meu si ma dispera la culme, dar imprejurarile ma forteaza sa-l folosesc. Oricum frumoasa intentie. Respect!
-
Necesita nmap & hydra.. e doar un script, nu e cine stie ce
-
Poti sa instalezi doar ca trebuie sa faci cateva setari. Am gasit link-ul cum mi`am instalat eu ubuntu pe laptop. http://www.ngohaibac.com/how-to-install-ubuntu-904-on-notebook-msi-vx600/ Daca reusesti sa il instalezi si nu iti merge ceva sa ma anunti, te ajut cu mare placere. P.S. Nu te speria de versiunea de laptop, doar urmeaza pasii prezentati acolo.
-
Daca tutorialul asta e foarte bun, sa nu va asteptati sa folositi Linux-ul pe viitor, nu cred ca veti reusi. Nu este prezentat nimic cu adevarat folositor aici, poate doar pentru skiddies.
-
Ma bucur ca vrei sa fii activ pe forum dar incearca sa nu exagerezi cu copy-paste-urile.. dau urat la imagine, macar dai edit si pune sursa de unde ai copiat. Source: Top 12 greseli ale utilizatorilor Linux care trebuiesc evitate pentru a face tranzitia de la Windows la Linux mai usoara | linux.videotutorial.ro
-
Dupa old`ul http://rstcenter.com/forum/25439-backup-script.rst Revin cu un nou script "ciordit" (again) pentru cei interesati de backup under linux! #!/bin/bash unalias -a unset LANG PGMVERSION="1.4.1" MNTDIR="/mnt" BACKUPFILE="/backup/system-backup" BACKUPLIST="$MNTDIR/var/lib/backups/sysbackups.list" BACKUPCONF="$MNTDIR/var/lib/backups/sysbackups.conf" BACKUPLOG="$MNTDIR/var/lib/backups/sysbackups.log" EXCLUDEFILE="$MNTDIR/var/lib/backups/sysbackups.exclude" RESTORECONF="$MNTDIR/var/lib/backups/sysrestore.conf" RESTORELOG="$MNTDIR/var/lib/backups/sysbackups.log" MAXBACKUPS=2 DATETIME="`date -u +%Y%m%d-%H%M`" EXCLUDEDEFAULT=" /tmp/* /var/tmp/* /var/run/*.pid " DeleteOldFiles() { local keepfiles="$1" local filemask="$2" local f while read -s f; do keepfiles=$((keepfiles-1)) test $keepfiles -gt 0 && continue rm -fv "$f" done < <(ls -1 -r $filemask 2>/dev/null) return 0 } SystemBackup() { local elist="/tmp/exclude$$" local backup="$BACKUPFILE-$DATETIME.tgz" local cmd i rc echo "System Backup V$PGMVERSION $DATETIME" echo if ! mount 2>&1 | grep -q "$MNTDIR "; then echo "Mounting system disk ROOT on $MNTDIR" mount LABEL=ROOT $MNTDIR || return 1 fi if ! mount 2>&1 | grep -q "$MNTDIR/var "; then echo "Mounting system disk DATA1 on $MNTDIR/var" mount LABEL=DATA1 $MNTDIR/var || return 1 fi echo echo "Mounted filesystems:" mount echo echo "Current disk usage:" df -m echo if [ -f $BACKUPCONF ]; then eval "`grep "^MAXBACKUPS=" < $BACKUPCONF`" fi mkdir -p $(dirname $BACKUPFILE) echo "Deleting old backups (maxbackups=$MAXBACKUPS)" DeleteOldFiles "$MAXBACKUPS" "$BACKUPFILE-*.tgz" DeleteOldFiles "$MAXBACKUPS" "$BACKUPFILE-*.log" echo echo "Current stored backups:" ls -l $BACKUPFILE*.tgz echo echo "$EXCLUDEDEFAULT" | sed -- 's#^/##' | grep -v "^$" > $elist if [ -f $EXCLUDEFILE ]; then echo "Using exclude list $EXCLUDEFILE" sed -- 's#^/##' < $EXCLUDEFILE | grep -v "^$" > $elist fi echo "Data excluded from Backup:" echo "------------------------------------" cat $elist echo "------------------------------------" echo umask 027 cmd="tar -cvzf $backup --one-file-system --exclude-from=$elist -C $MNTDIR . va r" echo "$cmd" $cmd; rc=$? echo "tar rc=$rc" df -m echo rm -f $elist if [ $rc -ne 0 ]; then rm -fv $backup echo "$(date -u "+%Z %F-%T") Backup Error $backup" >> $BACKUPLOG else echo "$(date -u "+%Z %F-%T") Backup Ok $backup" >> $BACKUPLOG fi echo echo "unmounting filesystems" umount $MNTDIR/var umount $MNTDIR echo return $rc } SystemRestore() { local backup="$1" local option="$2" local disk="" local hdROOT="" local hdDATA="" local aw echo "System Restore V$PGMVERSION $DATETIME" echo disk="$(mount | grep "/dev/.... on / " | awk '{print $1}')" case $disk in /dev/hda3) disk="/dev/hda";; /dev/sda3) disk="/dev/sda";; *) echo "Error: unsupported Harddisk configuration (rescue boot disk=$di sk)" return 1;; esac hdROOT="${disk}2" hdDATA="${disk}4" if [ -z "$backup" ]; then echo "Searching for $RESTORECONF on $hdROOT" mount $hdROOT $MNTDIR if [ -s $RESTORECONF ]; then read backup aw < $RESTORECONF backup="$(dirname $BACKUPFILE)/$(basename "$backup")" fi umount $MNTDIR if [ -z "$backup" ]; then echo "Backup file not specified, searching for last backup..." backup="`ls -1 -r $BACKUPFILE-*.tgz 2>/dev/null | head -n 1`" if [ -z "$backup" ]; then echo "Error: No backup found ($BACKUPFILE-*.tgz)" return 1 fi fi fi if [ ! -f "$backup" ]; then echo "Error: Backup file not found: $backup" return 1 fi if mount 2>&1 | grep -q "on $MNTDIR "; then echo "Error: Directory $MNTDIR is in use:" mount return 1 fi echo "-----------------------------------------------------------------" echo "Restoring System from Backup:" find $backup -printf "%p %s\n" echo echo "WARNING: all data on system partition $hdROOT will be deleted !" echo "-----------------------------------------------------------------" if [[ "$option" != "--yes" ]]; then aw="" read -p -t 60 "Do you want to restore system (Yes/no) [no] ? " aw if [[ "$aw" != "Yes" ]]; then echo "Response '$aw', system restore terminated" return 1 fi fi echo "Checking Backup file $backup" if ! tar -tzf $backup > "$backup.testlog" 2>&1; then echo "Error in Backup file" return 1 fi rm -f "$backup.testlog" echo "Formatting system partition $hdROOT..." mke2fs -L ROOT -j -O dir_index $hdROOT echo echo "Mounting system partition $hdROOT on $MNTDIR" mount $hdROOT $MNTDIR || return 1 mkdir -p "$MNTDIR/var" #### echo "Formatting data partition on $hdDATA..." #### mke2fs -L DATA1 -j -O dir_index "$hdDATA" echo echo "Mounting data partition $hdDATA on $MNTDIR/var" mount $hdDATA $MNTDIR/var || return 1 sync echo echo "Mounted filesystems:" mount echo df -m echo cmd="tar -xvzf $backup -C $MNTDIR" echo "$cmd" $cmd rc=$? echo "tar rc=$rc" echo df -m echo sync echo "Installing GRUB boot manager" grub --batch <<-EOF device (hd0) $disk root (hd0,1) setup (hd0) quit EOF if [ $? -ne 0 ]; then echo "Error installing GRUB, try manual installation" return 1 fi mkdir -p $(dirname $RESTORELOG) if [ $rc -ne 0 ]; then echo "$(date -u "+%Z %F-%T") Restore Error $backup" >> $RESTORELOG else echo "$(date -u "+%Z %F-%T") Restore Ok $backup" >> $RESTORELOG fi sync echo "unmounting filesystems" umount $MNTDIR/var umount $MNTDIR echo return $rc } MakeBackup() { local logfile="$BACKUPFILE-$DATETIME.log" local t="`date +%s`" local rc echo mkdir -p $(dirname $BACKUPFILE) SystemBackup > $logfile 2>&1 rc=$PIPESTATUS t="$((`date +%s` - t))" if [ $rc -ne 0 ]; then echo "System backup error ($t sec)" | tee -a $logfile else echo "System backup complete ($t sec)" | tee -a $logfile fi echo echo "Backup logfile: $logfile" echo return $rc } MakeRestore() { local backup="" local option="" local logfile="$(dirname $BACKUPFILE)/system-restore-$DATETIME.log" local t="`date +%s`" local p local rc for p in "$@"; do case $p in --yes) option="$p";; *) backup="$p";; esac done mkdir -p $(dirname $logfile) SystemRestore "$backup" "$option" > $logfile 2>&1 rc=$PIPESTATUS t="$((`date +%s` - t))" if [ $rc -ne 0 ]; then echo "System restore error ($t sec)" | tee -a $logfile else echo "System restore complete ($t sec)" | tee -a $logfile fi echo echo "Restore logfile: $logfile" echo return $rc } Help() { cat <<-EOF Use: $0 {backup}|{restore [tgzfile]} Sample: $0 backup $0 restore /somewhere/testbackup.tgz EOF echo "Current stored Backups in $(dirname $BACKUPFILE):" echo "------------------------------------------------------------------------ -" find $(dirname $BACKUPFILE) -name "*.tgz" -printf "%p %s\n" | sort echo "------------------------------------------------------------------------ -" return 1 } case $1 in backup) shift; MakeBackup "$@";; restore) shift; MakeRestore "$@";; *) Help;; esac #eof Orice intrebare aveti legata de script.. Feel free to ask ;-) Pace
-
Ubuntu Linux 'mountall' Local Privilege Escalation Vulnerability
Zatarra replied to Nytro's topic in Exploituri
Ca sa nu va mai chinuiti sa stiti daca functioneaza sau nu dati asa: mountall --version Not Vulnerable: Ubuntu mountall 2.15.2 Tineti minte, functioneaza doar pe Ubuntu 10.04 -
Pentru cei interesati de IPv6.
-
Scanat cu Kaspersky si nimic.. Danke
-
E bruteforce, poate eu am combinatii pe care el nu le are.. eu prind, el nu prinde.. oricum faza e discutabila, dar are ceva motive sa se scoata Pe mine unul ma intereseaza pe ce platforma ruleaza
-
E pentru Windows sau Linux?
-
Ms fain, sper sa fie ceva de el
-
Prietene esti nebun? Ai primit vreodata mesaj pentru configurarea telefonului? Eu unul primesc de fiecare data cand schimb cartela de pe un telefon pe altul. Poate is hackeri si au ceva suste pe la IMEI dar iti zic eu ca daca vor pot afla multe ;-) P.S. Am uitat sa precizez.. asta se intampla doar la cartela de abonament, la cartela libera nu primesc nici ofertele macar.
-
Guvernul american a inventat sfarsitu lumii.. sa mai fure bani de la oameni, la fel cum statul roman a inventat eclipsa din 1999 sa vina Garcea din Germania, la furat
-
Sigur i`a luat modelul telefonului cu un keylogger, oricine scrie zilnic pe mess ce model de telefon are On: Si maicamea a primit un telefon de la Vodafone tot ceva de genu, dar era cu o oferta, numa ca faza era ca era o oferta cam dubioaza ca trebuia ea sa cumpere nu stiu ce prostii.. oricum cand i-a spus maicamea stati sa vb cu baiatu a inchis ala automat
-
La tine poate.. cine stie.. ai prins vreun moment in care se juca ceva script kidde cu floodu
-
Jucati-va si voi cu consola unui iPod. Ip: n2-148-90.dhcp.drexel.edu (144.118.148.90) Login: root Pass: efgpragre.pbz Indiciu parola: Ave Caesar! Ryans-iPod:~ root# uname -a;uptime;id Darwin Ryans-iPod 10.4.0 Darwin Kernel Version 10.4.0: Wed Oct 20 20:06:26 PDT 2010; root:xnu-1504.58.28~3/RELEASE_ARM_S5L8720X iPod2,1 arm N72AP Darwin 10:32am up 8 days 20:38, 2 users, load average: 0.36, 0.28, 0.20 uid=0(root) gid=0(wheel) groups=0(wheel),1(daemon),2(kmem),3(sys),4(tty),5(operator),8(procview),9(procmod),20(staff),29(certusers),80(admin) Ryans-iPod:~ root#
-
Pisica aia in roz? ;-) Mie imi place aia cu umbrela.. dar daca nu era umbrela era mai super
-
Si la mine da exact la fel ;-|
-
Stii ce inseamna rkhunter? ;-)
-
Nu prea cred ca vei gasi tu priv8 stuff de cumparat.. oricum daca iti pui umpic mintea la bataie vei gasi ce cauti fara sa dai bani ;-) P.S. ai grija sa nu iei tapa ca is multi amatori pe aici
-
You reached 380 points, so you achieved position 22 of 391 on the ranking list You type 494 characters per minute You have 91 correct words and you have 0 wrong words V-am luat