Jump to content

CODEX

Active Members
  • Posts

    1354
  • Joined

  • Last visited

  • Days Won

    8

Everything posted by CODEX

  1. CODEX

    Rowarez Deface?

    mai , stai linstit , nu port ura nimanui nu am de ce sa ma enervez deoarece siteul in sine nu era ceva foarte important , ca daca era il securizam mai bine nu prea stau pe mess daca e ceva scrie-mi un mail
  2. CODEX

    Rowarez Deface?

    ok , ma rog , o sa imi refac forumu bafta in continuare.
  3. CODEX

    Rowarez Deface?

    Da ma , oameni , da pana mea voi va lauda-ti ca ati spart RoWarezu ? ( acuma ca e un site mai mic ) Puteati sa zici ma Codex vezi ca ti forumu naspa ca ai o "gaura" in forum iti am baza de date asa ca idee , repar-ti forumu ( asa fac oameni ) . Ma rog cei whitehat ...
  4. CODEX

    Rowarez Deface?

    ha ha mare lucru vreti baza de date ? vo dau eu ma gratis 1k membrii , slabut , hosting nu mai zic crezi ca ma impacentiez eu ca astia de la hackworld "m-au spart" ? pacat ca nu am eu timp sa ma ocup de ei o sa refac , si daca o sa trebuiasca o sa mut si hostu nu aveam mare lucru la privat stati linstiti puteam sa fiu si mai secure , dar nu am vrut ca n-am avut timp sa ma ocup de asta mai vreti detalii ? va dau si da..pt cei de la Hackworld : nu uit de voi PS : hackeri rozosini ce sunteti - va incadrati la categoria hackeri cocalari
  5. CODEX

    TinKode Hacker

    )) da da
  6. credeam ca e vb de mine
  7. deocamdata da
  8. site : Forum Gateway - Powered by DnP Firewall Schimb de linkuri / bannere 88x31 linkurile si bannerele vor fi afisate in footerul forumului cine vrea PM
  9. trmite PM cu cat dai si ce ai nevoie vezi cateva lucrari aici : codexcs's Gallery si mai multe poti gasi in topicurile mele de la webdesign area aici pe RST
  10. si ce rost isi are topicu ?
  11. This page has had 1,735 visits
  12. CODEX

    Internet explorer

    aaaa acuma am inteles )))))))) ps: folosesc propiul browser
  13. eu in 3 zile , doamne feri nici nu va spun cat fac
  14. CODEX

    Internet explorer

    ce-i asa tare ?
  15. America ma fascineaza
  16. This little piece of Python code grabs the ID number for a random deviation from a particular users gallery. DiFi is used to grab the deviation ID numbers. Created by me. This was something I decided to create after doing some research into the DiFi used in deviantART. I discovered a way to grab the favourites of a particular user through DiFi, and wondered if I could do anything else involving the gallery of a deviant. DiFi works by sending a URL with your request in it, and you are given a response in a human-readable table, or another format if you choose it. The URL contains the query as c[]=class;method;parameters. After a while of playing around I found that when using DiFi to get deviations listed in a users gallery, class "Aggregations" and method "get_galleries_initial" are used. The parameters are 3 numbers separated by commas. The first parameter is always the user's ID number, so I used my own when testing. After playing around even more, I discovered that the second parameter generally refers to either the user's main gallery or their favourites, 20 and 21 respectively. The third parameter defines what is returned from those particular places. 0 returns a list of all the deviation IDs stored, and 1 will return extra information and ID numbers. Using Aggregations;get_galleries_initial;1570401,20,1 will return the ID numbers for my personal galleries (excluding favourites) and the HTML code used, I assume, to display the small section in the side bar which links to each gallery. To get the full list of deviations in my gallery I would use Aggregations;get_galleries_initial;1570401,20,0. That was all well and good, but I wanted to be able to get deviations from the galleries of other users too, so I needed to be able to get the user ID number of any deviant. I opened up the source code for my deviantART page and did a quick search to find the first instance of my user ID number. The first instance of my user ID was actually in some JavaScript that uses DiFi, and I thought that it would not be a good idea to use that as it looked as though that was only available when logged in, and would only allow one ID number to be used. I searched again and found an appropriate instance. The "first" instance appears in an HTML tag as below: <div class="thought block" id="c759213177" typeid="4" itemid="1570401"> I needed to slice out the ID number, and I wasn't going to waste time searching for the whole tag in my Python code, so I decided only to search for 'itemid="' and '"' in that order. I made sure to confirm that this was also the first instance of itemid before doing so. On line 21 you can see the code used to slice out the ID number. Seeing as I had a way to grab a user's ID number easily, I thought I should get on and do the part which actually gets a deviation ID number. Cue DiFi. I needed the data returned by the DiFi request to be parsable, so returning it as xml was the best and only format to use without having to download alternate extensions for Python. So, the DiFi request I am using is below: Aggregations;get_galleries_initial;devid,20,0&t=xml "t" refers to "type", so the code requests the data to be returned in a format type of "xml". Simple enough! But then I have to parse the xml. The way python is parsed in Python makes it quite awkward to return the values without the xml tags attached, but simple slicing the strings in the right places seems to work fine. Deviation ID numbers are wrapped in <ids></ids> in the returned code, but the numeric order of the deviation ID is also wrapped in the same way, which again, makes things awkward. It's easy to tell, however, that the deviation ID numbers are in even tags, and the order in odd tags. So the deviation ID numbers are stored in <ids> 2, 4, 6, 8, 10, 12 etc. To get around this, when generating a random number, I add 1 to it if the number is odd. This means I can get the right number without reading it to check. Finally, I decided to put this code into a function so that it can be easily reused. Thanks for reading! I hope you feel more knowledgeable about grabbing random deviation ID numbers through DiFi in Python! If you want to read more about DiFi you can visit the botdom documentation Wiki to read our (limited) documentation on DiFi ;p <EDIT id='1'> I've changed it so that it uses the JSON returned by DiFi. This means no more parsing XML tags and all that stuff! I've also made it possible to return more than one thumb id number at a time, and all of them are returned in a list! </EDIT> <EDIT id='2'> I've changed the last bit of the code. There used to be around five lines of code, and I've reduced it to one line. Python is quite nifty methinks. </EDIT> <EDIT id='3'> It now works with Python 3.0! And I'm using the JSON decoder rather than eval. Using eval is naughty! </EDIT> am gasit ceva despre difi
  17. Nush daca e ceva interesant sau nu , daca se poate face ceva de aici sau nu , ma rog http://www.deviantart.com/global/difi/?c[]=%22%3E%3Cscript%3Ealert%28%27xss%27%29%3C/script%3E%22DeviationView%22%2C%22getExtrasHTML%22%2C[164532133%2C%22%22%2C{}]&t= e ceva sau nu ? ps: si ce e ala DiFi ?
  18. inainte eu eram pax , dar de cand pax a devenit pax eu ne mai putand fiind pax m-am axat pe altfel de pax , luand logic si cronlogic aparatia lui pax a fost inainte de a fi el Pax de Pax , deoarece nici Pax de pax nu stia de el si pe ce lume traieste . Pax fiind smecher si-a adautgat Nwo dupa el , luand o mare sarcina asupra lui , nwo provenind din latinescul "Wandam Never Day " , el fiind Pax de Pax a schimbat Prefixul punand Wandam dupa Never si la day a adaugat 0 rezultand 0day ( foare cunoscutul prefix din ziua de azi ) si uite asa a aparatu prefixul 0day . In concluzie PaxNwo e un fel de Wandam care Never Day ! PS: nu va chinuit sa descifrati ca nici eu nu am inteles ce am scris ))))))
  19. Yupiii Nemessis ne face cinsteeeee asai neme ? eu primu : o Timisoreana
  20. mah da ce va mai laudati ma :> zippy stie si zbengu la fel , in spania "deschizi geamu si iti intra in casa singura "
  21. care zice ca da gratis connturile ?> PM me
  22. CODEX

    Ras pe picioare

    Nu ma rad dar nu mi se pare ceva anormal , daca ai picioare lucrate , bronzate ( ai ce arata ) de ce sa nu te razi ? + mi se pare mai igienic Nu mi se pare ceva gay , fiecare cu inclinatiile lui , ficare cum ii place sa se vada , sa arate. Voi cand vedeti un baiat pe strada epilat pe picioare va duce gandu ca ala e gay ?
  23. Felicitari pentru programelele astea mici si utile pe care le faci !
  24. hahaha nytro cum se face cu bere
  25. Uitati ce am gasit pax.log ) cineva scrie despre pax , se ia de el , si etc Poate l-ati vazut da ma rog...
×
×
  • Create New...