Wednesday, September 03, 2014 Login · Register
    Login
Username

Password


Remember Me

Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.

 

    Users Online
  • · Members on IRC: 32   
  • · Total Members: 16,007
  • · Newest Member: MadJ0ker
  •  

     

        Related Ads
     

     

     

        Top 10 Forum Posters
    UserPosts
    bluechill1411   
    madf0x1291   
    cruizrisner1062   
    Qwexotic1034   
    Null Set870   
    Override604   
    auditorsec603   
    godofcereal599   
    TurboBorland585   
    Teddy477   
     

        Affiliates




  • iExploit


  • iExploit


  • WeChall





  • Thisislegal.com

  •  

        Related Ads
     

    View Thread
         
    Security Override Hacking Challenges Advanced Challenges
    What should I read to solve the challenge Advanced Level 1 - PHP Sucks 1
    Register FAQ Members List Today's Posts Search

    Print Thread
    07-01-2013 05:31 AM What should I read to solve the challenge Advanced Level 1 - PHP Sucks 1 | Edited by trietptm 07-01-2013 05:36 AM
    Hello everybody, could you tell me what resource/links I should read to solve the challenge PHP Sucks 1?
    http://securityoverride.org/challenges/advanced/1/
    Although I understand the PHP code + the regex and I've tried to use SO's calculator:
    http://securityoverride.org/Calculator.php
    , I still could not solve this challenge.

    Best regards,
     
    Offline
    07-01-2013 05:46 AM RE: What should I read to solve the challenge Advanced Level 1 - PHP Sucks 1
    You don't need the calculator here.
    Read up on the === operator.
     
    Offline
    07-01-2013 06:50 AM RE: What should I read to solve the challenge Advanced Level 1 - PHP Sucks 1
    Thanks for your reply, I've just tried \t\n with zero but still get "This input is allowed by the filters. But wrong.".
     
    Offline
    07-01-2013 12:32 PM RE: What should I read to solve the challenge Advanced Level 1 - PHP Sucks 1 | Edited by trietptm 07-01-2013 12:32 PM
    Thanks to Abhinav2107's suggestion, I've solved this challenge.
    If someone needs a hint, you could send me a pm.
     
    Offline
    07-02-2013 04:11 PM RE: What should I read to solve the challenge Advanced Level 1 - PHP Sucks 1 | Edited by thefinder 07-02-2013 05:16 PM
    Hi, I don't understant why it doesn't work with:
    \n0000
    because:
    http://php.net/manual/fr/language.operators.comparison.php
    say it' equal:

    [1234] vs [\n1234]
    string(4) "1234"
    string(5) "\n1234"
    EQUAL !

    Thanks.
    EDIT: I find it.
     
    Offline
    01-21-2014 02:15 AM RE: What should I read to solve the challenge Advanced Level 1 - PHP Sucks 1
    Any help, please, on this one or explain the regex ?
     
    Offline
    01-21-2014 06:42 AM RE: What should I read to solve the challenge Advanced Level 1 - PHP Sucks 1
    Make sure you know what exactly does the === operator do.
     
    Offline
    01-21-2014 07:16 PM RE: What should I read to solve the challenge Advanced Level 1 - PHP Sucks 1 | Edited by X57 01-21-2014 11:35 PM
    I understand that === is used for comparison and check whether the right and left hand sides are identical. I still couldn't solve it. Does understanding the regexp "/^[\d]{1,}$/D" help in solving the challenge ?

    Edit:
    Solved. Type is the keyword. Thank you.
     
    Offline
    01-22-2014 06:32 AM RE: What should I read to solve the challenge Advanced Level 1 - PHP Sucks 1
    X57 wrote:
    I understand that === is used for comparison and check whether the right and left hand sides are identical. I still couldn't solve it. Does understanding the regexp "/^[\d]{1,}$/D" help in solving the challenge ?

    Edit:
    Solved. Type is the keyword. Thank you.


    Yeah, === is a strict comparison, it compares the values along with the type of value. That is why == would be better, since it only compares values.
    var hack = true;

    if(hack) {
    console.log("Throw It Out The Window.")
    }
     
    Offline
    04-15-2014 04:15 PM RE: What should I read to solve the challenge Advanced Level 1 - PHP Sucks 1
    we know the answer must be a string, but for some reason it still gets seen as an int, even though you sit "0000" in, my question is, how do you tell PHP explicitly it is a string and not an integer????
     
    Offline
    04-19-2014 04:29 AM RE: What should I read to solve the challenge Advanced Level 1 - PHP Sucks 1
    I solved it purely based on luck. and later done the reading part
     
    Offline
    05-20-2014 03:20 PM RE: What should I read to solve the challenge Advanced Level 1 - PHP Sucks 1
    herox wrote:
    we know the answer must be a string, but for some reason it still gets seen as an int, even though you sit "0000" in, my question is, how do you tell PHP explicitly it is a string and not an integer????


    wrong path, try this one:


    x1,x2 = |y|
    *******************************************************************************
    the quieter you become, the more you are able to hear.
     
    Offline
    Jump to Forum:
    Forum powered by fusionBoard