Jump to content

hanibal

Active Members
  • Posts

    304
  • Joined

  • Last visited

    Never

Everything posted by hanibal

  1. hanibal

    salutare

    Bai necro[m]ancer tu ce tot ai cu download-ul? ce sa downloadeze de pe site de learning hacking+security? pfff...e a 3-a oara cand iti zic ca RST NU este site de WAREZ... n0 0ffence :@
  2. hanibal

    4n4rchyl04d3r

    mai bine stergi user-ule lor, parerea mea...ca decat sa-i pastram...noah...ocupa spatiul degeaba :@ aaa si mai ho cu carcabot ala ca nu ii vedeta draq
  3. http://rapidshare.com/files/7500891/stealth.rar Sunetul acesta ar trebui sa nu fie auzit de adulti...este "emis" pe o frecventa pe care adultii nu o pot auzi. Am vazut la TV ca un savant a luat premiu pentru un aparat care scoate un asemenea sunet. credits: Skyler from wbb pass: wbb cam ciudat...eu am testat si ma dor urechile...testati si v0i :@
  4. hanibal

    "Boala" IRC

    very real... numai asl pls pe Undernet
  5. hanibal

    HackerMail

    Vreti mail [mail]x@hackermail.com[/mail] ? luati bafta'>http://www.hackermail.com bafta
  6. Nu conteaza cate posturi ai, ...intr-un fel...ma refer la chestia: "Calitate, nu cantitate"...ajuta forumu.....toti vor sa avanseze....eh faci treaba buna la tutoriale....bafta in continoare :@
  7. eh....o banala confundare, deoarece noi postam topic dupa topic aici si poate daia nice share dude oriicum :@
  8. Mai usor man, pe mine ma stie toata politia din imprejurimi cu muzica asta la maxim venisera sa dea cu pumnii in usa ai draq <ontopic> C.T.C-Vorbe din Context :@ </ontopic>
  9. :@ ce am facut eu ma? deci este tutorialul asta exceptional, ar cam merita sticky
  10. vreo problema webmaster? este luat de pe warezbb.ro din 10 posturi ale tale 6 sau 7 sunt facute doar comentand ce zic eu...Ai cumva vreo problema personala de care nu poti trece? Te iei de mine ca iau tut...da man asa le iau cu copy paste....dau credite...sunt mari...dar ajuta pe cineva. Si normal ca sa invete cineva tutorialele normal ca trebuie sa le citeasca pana innebuneste..cum ziceai tu... eu zic sa stai in banca ta si sa nu mai comentezi ce fac altii....no offence :@ puteti sa-mi dati warn daca vreti...dar macar am spus ce am pe suflet
  11. http://rapidshare.com/files/8270920/phpBB_-_ghid_de_utilizare_a_forumului_in_romana.zip
  12. hanibal

    salutare

    Bine ai venit! Ai grija cu regulile si urmeaza neshte tutoriale bafta :@
  13. credits: drogoreanu.ro Notiuni de baza Bazele de date sunt folosite pentru stocarea informatiilor in vederea furnizarii ulterioare in functie de solicitarea primita. MySQL este un sistem de baze de date functional independent. In PHP exista functii pentru toate operatiilor executate asupra bazelor de date MySQL. Administrarea MySQL se poate face din linie de comanda sau folosind browserul si accesand aplicatia numita PHPMyAdmin scrisa in PHP. Cele mai uzuale operatii cu bazele de date sunt: Comanda Semnificatie CREATE creaza o baza de date sau un tabel DROP sterge o baza de date sau un tabel INSERT adauga inregistrari intr-un tabel DELETE sterge inregistrari dintr-un tabel UPDATE updateaza inregistrarile dintr-un tabel SELECT selecteaza un tabel ALTER alterarea unui tabel In MySQL spatiul alocat pe discul serverului este functie de tipul de date. Cateva din tipurile de date folosite in bazele de date MySQL sunt: Tip Semnificatie int() numar intreg 32 biti bigint() numar intreg 64 biti tinyint() numar intreg (-128 la 127 sau 0 la 255) 8 biti mediumint() numar intreg 24 biti smallint() numar intreg 16 biti char() sectiune cu lungime fixa de la 0 la 255 caractere varchar() sectiune cu lungime variabila de la 0 la 255 caractere float() numar mic cu virgula flotanta double numar mare cu virgula flotanta text sir cu maximum 65535 caractere date() data in format YYYY-MM-DD date data in format YYYY-MM-DD HH:MM:SS time ora in format HH:MM:SS Pentru ca baza de date sa fuctioneze mai bine coloanelor li s-au adaugat modificatori de coloana. Tipul de date intregi incep de la valori negative la pozitive. Daca se adauga optiunea UNSIGNED, care este un modificator de coloana, nu vor mai fi valori negative ci vor incepe de la 0. Alti modificatori sunt: AUTO_INCREMENT functioneaza cu orice tip intreg. La fiecare rand nou adaugat in baza de date numarul asociat va fi incrementat. NULL inseamna fara valoare (diferit de spatiu sau zero). NOT NULL inseamna ca orice inregistrare va fi considerata ceva. PRIMARY KEY este rolul primei coloane din tabel, totodata reprezentand elementul de referinta pentru fiecare linie.
  14. Notiuni de baza PHP este prescurtarea de la Hypertext PreProcessor. Spre deosebire de paginile HTML care puteau fi verificate si pe calculatorul local paginile PHP nu pot fi verificate decat daca sunt gazduite pe un server web care are instalat PHP. Cand accesam o pagina HTML serverul care o gazduieste trimite pagina HTML catre browser spre afisare. In cazul unei pagini PHP serverul citeste codul PHP, il interpreteaza si genereaza dinamic pagina HTML care este trimisa browserului spre afisare. Acesta este motivul pentru care utilizatorii folosesc PHP pentru construirea unor pagini cu continut dinamic. Fisierele PHP au extensia php. Puteti scrie astfel de fisiere cu Notepad sau cel mai indicat cu un editor specializat care va indica si numarul liniilor, lucru util la depanarea scripturilor. Verificati ca nu aveti extensiile ascunse (My Computer -> Tools -> Folder Options -> View -> debifati Hide extensions for known file types). Pentru a putea crea fisiere php dati clic dreapta New -> Text Document, apoi il redenumiti nume.php. Cand PHP-ul parcurge un fisier de fapt "citeste" textul pana cand intalneste una din etichetele speciale care-i spun sa inceapa sa interpreteze textul ca pe cod PHP. Se executata codul pana cand este intalnita eticheta de inchidere. Apoi se "citeste" din nou textul mai departe. Acesta este motivul pentru care se poate adauga cod PHP in interiorul HTML-ului. Important: * in cazul functiilor nu se face diferenta intre utilizarea literelor mari sau mici * pentru variabile se face diferenta intre utilizarea literelor mari sau mici * inchiderea unui rand se face obligatoriu cu caracterul ; * ghilimelele se folosesc pereche "..." sau '...', folosirea lor "...' sau '..." constituie o eroare Codul PHP este delimitat de unul din urmatoarele seturi de etichete de deschidere si inchidere: <?php ?> etichete recomandate <script language="php"?> </script> <? ?> folosirea lor necesita anumite setari pe server <% %> etichete tip ASP, folosirea lor necesita anumite setari pe server Exemplu: cel mai simplu script PHP este: <?php echo "Acesta este un script PHP"; ?> Daca veti verifica functionarea acestui script pe un server veti vedea ca este afisat textul delimitat de ghilimele. Functia echo este folosita pentru afisarea informatiilor delimitate de ghilimele. Nu uitati sa inchideti randul cu ;. Similar functiei echo este functia print. In situatia in care scriptul nu este scris corect PHP-ul va afisa eroarea indicandu-va si locul unde aceasta apare. Erorile sunt afisate doar daca serverul este setat corespunzator (in php.ini este setat display_errors=On si error_reporting=E_ALL). Exemplu: in interiorul scriptului puteti insera si etichete HTML <?php echo "Acesta este un script PHP care contine si etichete HTML"; ?> Exemplu: fisierul PHP poate contine intre etichetele <html> si </html> blocuri PHP delimitate de <?php ?> <html> <head><title>Exemplu0_3</title> </head> <body> Bloc HTML <?php echo "Bloc PHP"; ?> </body> </html> In PHP sunt trei metode prin care se poate adauga un comentariu care evident nu va fi afisat in browser ci are ca scop doar adaugarea de informatii necesare programatorului. Tot ce urmeaza dupa caracterele // sau # este considerat comentariu. De exemplu: // Urmeaza un comentariu in PHP Un comentariu format din mai multe linii este incadrat de /* si */. De exemplu: /* Comentariul in PHP scris pe doua linii */ credits: drogoreanu.ro
  15. Notiuni de baza CSS, prescurtarea de la Cascading Style Sheets, sunt etichete folosite pentru formatarea paginilor web (de exemplu formatare text, background sau aranjare in pagina, etc.). Beneficiile sintaxei CSS sunt: * formatarea este introdusa intr-un singur loc pentru tot documentul * editarea rapida a etichetelor * datorita introducerii intr-un singur loc a etichetelor se obtine o micsorare a codului paginii, implicit incarcarea mai rapida a acesteia Sintaxa CSS este structurata pe trei nivele: nivelul 1 fiind proprietatile etichetelor din documentul HTML, tip inline nivelul 2 este informatia introdusa in blocul HEAD, tip embedded nivelul 3 este reprezentat de comenzile aflate in pagini separate, tip externe Cea mai mare importanta (suprascrie orice alt parametru) o are sintaxa de nivelul 1 iar cea mai mica importanta o are cea de nivelul 3. Folosirea unui fisier extern sau nivel 3 care sa contina comenzi CSS este foarte practic deoarece poate fi utilizat in mai multe situatii (mai multe fisiere HTML pot folosi acelasi fisier extern CSS) eliminand timpul necesar introducerii codului corespunzator in fiecare pagina si totodata editarea lor intr-un singur loc pentru mai multe fisiere. Extensia acestor fisiere este .css. Legatura paginilor HTML cu fisierele extene CSS se face prin introducerea urmatoarei linii: <link rel="stylesheet" type="text/css" href="fisier_css.css"> Atributele indica urmatoarele: rel - fisierul este tip styleshhet type - tip text ce contine comenzi CSS href - fisierul sau adresa fisierului CSS. Comenzile de nivel 2 sau embedded sunt cele gazduite oriunde intre perechea de etichete <head> si </head> conform sintaxei: <style type="text/css"> <!-- ... comenzi CSS ... --> </style> Unde style -specifica unde incepe si unde se termina blocul CSS iar type este folosit pentru a ascunde de browserele vechi, care nu cunosc sintaxa CSS, continutul blocului style. Comenzile CSS de nivel 1 sau inline sunt cele mai folosite, ele suprascriind orice alte comenzi CSS. Sunt amplasate in interiorul etichetelor HTML aflate in zona BODY si au sintaxa: <eticheta style="codul CSS dorit"> ...textul sau obiectul asupra caruia este aplicat codul CSS... </eticheta> Este permisa folosirea comentariilor in CSS ca si in HTML: /* Acesta este un comentariu in CSS */
  16. deci vrei sa zici ca eu postez aiurea? :@
  17. Table Of Contents: 1. Preface 2. Compiling A Single-Source "C" Program 3. Running The Resulting Program 4. Creating Debug-Ready Code 5. Creating Optimized Code 6. Getting Extra Compiler Warnings 7. Compiling A Single-Source "C++" Program 8. Compiling A Multi-Source "C" Program 9. Getting a Deeper Understanding - Compilation Steps tutorialul il gasiti aci: http://users.actcom.co.il/~choo/lupg/tutorials/c-on-unix/c-on-unix.html
  18. credits? nu-i frumos ce faci www.itzone.ro -credits
  19. man, nu ii ok? tu ai pus mai multe :@
  20. http://www.phdsystems.com/tutorials/internet/index.html l-am gasit cautand pe google tutorials...
  21. Components of the Internet World Wide Web The World Wide Web (abbreviated as the Web or WWW) is a system of Internet servers that supports hypertext to access several Internet protocols on a single interface. Almost every protocol type available on the Internet is accessible on the Web. This includes e-mail, FTP, Telnet, and Usenet News. In addition to these, the World Wide Web has its own protocol: HyperText Transfer Protocol, or HTTP. These protocols will be explained below. The World Wide Web provides a single interface for accessing all these protocols. This creates a convenient and user-friendly environment. It is not necessary to be conversant in these protocols within separate, command-level environments, as was typical in the early days of the Internet. The Web gathers together these protocols into a single system. Because of this feature, and because of the Web's ability to work with multimedia and advanced programming languages, the Web is the most popular component of the Internet. The operation of the Web relies primarily on hypertext as its means of information retrieval. HyperText is a document containing words that connect to other documents. These words are called links and are selectable by the user. A single hypertext document can contain links to many documents. In the context of the Web, words or graphics may serve as links to other documents, images, video, and sound. Links may or may not follow a logical path, as each connection is programmed by the creator of the source document. Overall, the Web contains a complex virtual web of connections among a vast number of documents, graphics, videos, and sounds. Producing hypertext for the Web is accomplished by creating documents with a language called HyperText Markup Language, or HTML. With HTML, tags are placed within the text to accomplish document formatting, visual features such as font size, italics and bold, and the creation of hypertext links. Graphics and multimedia may also be incorporated into an HTML document. HTML is an evolving language, with new tags being added as each upgrade of the language is developed and released. For example, visual formatting features are now often separated from the HTML document and placed into Cascading Style Sheets (CSS). This has several advantages, including the fact that an external style sheet can centrally control the formatting of multiple documents. The World Wide Web Consortium (W3C), led by Web founder Tim Berners-Lee, coordinates the efforts of standardizing HTML. The W3C now calls the language XHTML and considers it to be an application of the XML language standard. The World Wide Web consists of files, called pages or home pages, containing links to documents and resources throughout the Internet. The Web provides a vast array of experiences including multimedia presentations, real-time collaboration, interactive pages, radio and television broadcasts, and the automatic "push" of information to a client computer or to an RSS reader. Programming languages such as Java, JavaScript, Visual Basic, Cold Fusion and XML extend the capabilities of the Web. Much information on the Web is served dynamically from content stored in databases. The Web is therefore not a fixed entity, but one that is in a constant state of development and flux. For more complete information about the World Wide Web, see Understanding The World Wide Web. E-mail Electronic mail, or e-mail, allows computer users locally and worldwide to exchange messages. Each user of e-mail has a mailbox address to which messages are sent. Messages sent through e-mail can arrive within a matter of seconds. A powerful aspect of e-mail is the option to send electronic files to a person's e-mail address. Non-ASCII files, known as binary files, may be attached to e-mail messages. These files are referred to as MIME attachments. MIME stands for Multimedia Internet Mail Extension, and was developed to help e-mail software handle a variety of file types. For example, a document created in Microsoft Word can be attached to an e-mail message and retrieved by the recipient with the appropriate e-mail program. Many e-mail programs offer the ability to read files written in HTML, which is itself a MIME type. Telnet Telnet is a program that allows you to log into computers on the Internet and use online databases, library catalogs, chat services, and more. There are no graphics in Telnet sessions, just text. To Telnet to a computer, you must know its address. This can consist of words (locis.loc.gov) or numbers (140.147.254.3). Some services require you to connect to a specific port on the remote computer. In this case, type the port number after the Internet address. Example: telnet nri.reston.va.us 185. Telnet is available on the World Wide Web. Probably the most common Web-based resources available through Telnet have been library catalogs, though most catalogs have since migrated to the Web. A link to a Telnet resource may look like any other link, but it will launch a Telnet session to make the connection. A Telnet program must be installed on your local computer and configured to your Web browser in order to work. With the popularity of the Web, Telnet is less frequently used as a means of access to information on the Internet. FTP FTP stands for File Transfer Protocol. This is both a program and the method used to transfer files between computers. Anonymous FTP is an option that allows users to transfer files from thousands of host computers on the Internet to their personal computer account. FTP sites contain books, articles, software, games, images, sounds, multimedia, course work, data sets, and more. If your computer is directly connected to the Internet via an Ethernet cable, you can use one of several PC software programs, such as WS_FTP for Windows, to conduct a file transfer. FTP transfers can be performed on the World Wide Web without the need for special software. In this case, the Web browser will suffice. Whenever you download software from a Web site to your local machine, you are using http://FTP. You can also retrieve FTP files via search engines such as FtpFind, located at http://www.ftpfind.com/. This option is easiest because you do not need to know FTP program commands. E-mail Discussion Groups One of the benefits of the Internet is the opportunity it offers to people worldwide to communicate via e-mail. The Internet is home to a large community of individuals who carry out active discussions organized around topic-oriented forums distributed by e-mail. These are administered by various types of software programs. A great variety of topics are covered by discussion groups. When you subscribe to a group, messages from other subscribers are automatically sent to your electronic mailbox. You subscribe by sending an e-mail message to the address of the group. You must have a e-mail account to participate in a listserv discussion group. Visit Tile.net at http://tile.net/ to see an example of a site that offers a searchablecollection of e-mail discussion groups. Listserv, majordomo and Listproc are among the programs that administer e-mail discussion groups. The commands for subscribing to and managing your list memberships are similar to those of listserv. Usenet News Usenet News is a global electronic bulletin board system in which millions of computer users exchange information on a vast range of topics. The major difference between Usenet News and e-mail discussion groups is the fact that Usenet messages are stored on central computers, and users must connect to these computers to read or download the messages posted to these groups. This is distinct from e-mail distribution, in which messages arrive in the electronic mailboxes of each list member. Usenet itself is a set of machines that exchanges messages, or articles, from Usenet discussion forums, called newsgroups. Usenet administrators control their own sites, and decide which (if any) newsgroups to sponsor and which remote newsgroups to allow into the system. A good directory of Usenet groups can be found at Tile.Net. There are thousands of Usenet newsgroups. These range from academic to recreational topics. Serious computer-related work takes place in Usenet discussions. A small number of e-mail discussion groups also exist as Usenet newsgroups. The Usenet newsfeed can be read by a variety of newsreader software programs. For example, the Netscape suite comes with a newsreader program called Messenger. Newsreaders are also available as standalone products. Usenet is not as popular nowadays as it once was. Blogs and RSS feeds are newer modes of communication that have caught the interest of Internet users. These technologies are covered in Understanding the World Wide Web. Chat & Instant Messaging Chat programs allow users on the Internet to communicate with each other by typing in real time. They are sometimes included as a feature of a Web site, where users can log into the "chat room" to exchange comments and information about the topics addressed on the site. Chat may take other, more wide-ranging forms. For example, America Online is well known for sponsoring a number of topical chat rooms. Internet Relay Chat (IRC) is a service through which participants can communicate to each other on hundreds of channels. These channels are usually based on specific topics. While many topics are frivolous, substantive conversations are also taking place. To access IRC, you must use an IRC software program. A variation of chat is the phenomenon of instant messaging. With instant messaging, a user on the Web can contact another user currently logged in and type a conversation. Most famous is America Online's Instant Messenger. ICQ, MSN and Yahoo also offer chat programs. Open Source chat programs include GAIM and Jabber. Other types of real-time communication are addressed in the tutorial Understanding the World Wide Web. credits: Laura Cohen
  22. Semafoarele sunt una dintre metodele de comunicare inter-proces , un mod de a semnala unui proces producerea unui eveniment in alt proces. Pentru a putea folosi semafoare trebuie incluse headerele sys/sem.h, sys/ipc.h si sys/types.h . Pasii care trebuie urmati pentru a defini , initializa , folosi si , in final , distruge un semafor sunt urmatorii: 1) Definim o variabila de tip intreg; int id_semafor; 2) Luam (sau cream) semaforul; id_semafor=semget(IPC_PRIVATE, 1, 0777); Prototipul functiei semget este urmatorul: int semget(key_t key,int nsems,int semflg) - functia intoarce identificatorul pentru grupul cu nsems semafoare asociat cheii key; - daca cheia este IPC_PRIVATE sau cheia nu este IPC_PRIVATE dar semflg are setat bitul IPC_CREAT un nou grup de semafoare este creat; - semflg contine de asemenea drepturile de acces asociate semaforului (in exemplul anterior , 0777); - prezenta flagurilor IPC_CREAT si IPC_EXCL in semflg in acelasi timp va duce la esuarea apelului functiei semget; In caz de succes functia intoarce un numar pozitiv care reprezinta id-ul semaforului si in caz de eroare -1 3) Daca este nou creat , vrem sa setam valoarea initiala a semaforului (de obicei este 1 , dar i se poate da orice valoare) - pentru asta s-ar putea sa avem nevoie sa definim o structura (semun) astfel #if defined(__GNU_LIBRARY) && !defined(_SEM_SEMUN_UNDEFINED) //semun e deja definit #else //definim semun typedef union { int val; struct semid_ds *buf; unsigned short *array; struct seminfo *__buf; } semun; #endif semun value; value.val=1; semctl(semidscr, 0, SETVAL, value); Prototipul functiei semctl: int semctl(int semid,int semnum,int cmd,union semun arg) - functia executa operatia indicata de cmd asupra setului de semafoare indicat de semid , asupra semaforului semnum din set (primul are indicele 0) folosind arg pentru asta - in cazul exemplului de mai sus , se seteaza valoarea din value la semaforul 0 din setul indicat de semafoul nou creat - pentru mai multe informatii legate de parametrii functiei , man semctl 4) Vrem sa folosim semaforul ( de obicei pentru sincronizari intre procese) - exista 2 operatii care se folosesc uzual asupra unui semafor pentru asta , si au numele consacrate:Down si up (sau U si V) - down va incerca sa scada 1 din valoarea semaforului - up va adauga 1 la valoarea semaforului - uzual , daca un proces incearca sa faca down pe un semafor care are valoarea 0 , se va bloca acolo pana cand alt proces va face up pe acelasi semafor ATENTIE: - daca se folosesc threaduri , in momentul in care unul din threaduri face down pe un semafor cu valoarea 0 , intreg procesul se va bloca , adica TOATE THREADURILE pornite de acel proces - pentru sincronizare intre threaduri vor trebui folosite mijloace dedicate; Functiile down si up: void down(int semid,short flags) { //scade valoarea 1 dintr-un semafor char buf[64]; struct sembuf op; //scad valoarea 1 din semafor op.sem_num = 0; op.sem_op = -1; op.sem_flg = flags; if(semop(semid, &op, 1)==-1) { //eroare strcpy(buf,"Eroare la semop!n"); write(1,buf,strlen(buf)); exit(-1); } } void up(int semid,short flags) { //adauga 1 la valoarea unui semafor char buf[64]; struct sembuf op; //adaug 1 la valoarea din semafor op.sem_num = 0; op.sem_op = 1; op.sem_flg = flags; if(semop(semid, &op, 1)==-1) { //eroare strcpy(buf,"Eroare la semop!n"); write(1,buf,strlen(buf)); exit(-1); } } Prototipul functiei semop: int semop(int semid,struct sembuf *sops,unsigned nsops) - nsops se foloseste pentru a specifica numarul de operatii care trebuiesc efectuate (in sops va trebui sa se gaseasca un vector) - daca flags contine IPC_NOWAIT , procesul nu se va bloca daca valoarea din semaforul asupra caruia vrea sa faca operatia si apelul va intoarce -1 - daca flags contine IPC_UNDO , toate operatiile vor fi undone cand procesul se termina; 5) Dupa ce ne jucam cu semaforul , vrem sa-l distrugem semctl(id_semafor, 0, IPC_RMID, NULL); - apelam functia semctl cu parametrul cmd IPC_RMID Semafoarele sunt resurse sistem , trebuie distruse cand nu mai sunt folosite , altfel vor continua sa ocupe resursele sistemului. Pentru a vedea toate resursele IPC care sunt active la un moment dat in sistem , puteti folosi comanda ipcs din consola. Resursele(semafoare,cozi de mesaje,memoria partajata) pot fi distruse si direct din consola cu comanda ipcrm. Folositi man ipcs si man ipcrm pentru mai multe detalii. Autor Florin(itzone)
×
×
  • Create New...