Results 1 to 8 of 8

Thread: Solving a simple captacha?

  1. #1
    Join Date
    Sep 2007
    Posts
    18
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Solving a simple captacha?

    Hi, I want to ask a question:
    is it possible to solve a captacha like these with scar?


    view more at http://www.camorraworld.nl/code.php

    the numbers rotate at every new image...

    I guess I have to use the FindRotatedBitmap function?
    I have already made mask bmp images and converted them into strings,
    but i'm not sure what to do next, can anyone help me out?

  2. #2
    Join Date
    Apr 2007
    Posts
    994
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    function FindBitmapRotated(bitmap: Integer; var x, y, Angle: Integer; x1, y1, x2, y2: Integer): Boolean;
    Works like FindBitmap, but rotates the bitmap after each search by 1 degree and returns the angle of the found bitmap afterwards.

    function RotateBitmap(bitmap: Integer; angle: Extended): Integer;
    Rotates bitmap by specified angle in radians (Pi = 180˚);

    function FindBitmapMaskTolerance(mask: Integer; var x, y: Integer; x1, y1, x2, y2: Integer; Tolerance, ContourTolerance: Integer): Boolean;
    Essentially it works like FindBitmapIn except it identifies using the masks/shape of an object in the bitmap. Masks are specified by the colors black and white. ContourTolerance is the minimal tolerance for color difference between shape of a mask and the background in a bitmap, It makes sure the shape differs from the background.
    <-- sample mask for finding letter A in any color.

    How about those? Personally, I think those would be solvable, and I would just findcolorstolerance, and compare the points but a mask would do just fine.
    [QUOTE]<GoF`> oh no its Raymooond
    <Raymooond> Heya
    <GoF`> is it ray or some other ray?
    <LeeLokHin> No idea
    <LeeLokHin> Raymond, what's the game you like the most?
    <Raymooond> Runescape
    <-- LeeLokHin has kicked Raymooond from #srl (Faker.)[/QUOTE]

  3. #3
    Join Date
    Sep 2007
    Posts
    18
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ok thanks,
    but how do I use the findBitmapRotated function with the findbitmapmasktolerance. Because if I only use the findbitmaprotated function it also searches the bmp's background.

  4. #4
    Join Date
    May 2008
    Posts
    210
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    this is hardcore stuff, you should prolly ask someone whos good with DTM's

  5. #5
    Join Date
    Apr 2007
    Posts
    994
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    I would just use rotatebitmap, then findbitmapmasktolerance

    @Nexhou. It is not hardcore. You can easily see that the number's color is different, thus maybe a simple DTMRotated would do too.

    *cough* click the blue cross on the top right corner
    [QUOTE]<GoF`> oh no its Raymooond
    <Raymooond> Heya
    <GoF`> is it ray or some other ray?
    <LeeLokHin> No idea
    <LeeLokHin> Raymond, what's the game you like the most?
    <Raymooond> Runescape
    <-- LeeLokHin has kicked Raymooond from #srl (Faker.)[/QUOTE]

  6. #6
    Join Date
    Dec 2007
    Posts
    78
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I don't think these captcha's are really hard to solve, I'll try it when I have time for it

  7. #7
    Join Date
    Apr 2008
    Location
    Northwest england
    Posts
    1,179
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    you would need to make it into font one for each char

    ive been trying to do it for a site that has 4chars

    0-9 a-f

    and chars and 1 solid colour so i cant do bmp masks
    Blank!

  8. #8
    Join Date
    Jun 2006
    Posts
    3,861
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    Set the part of the bitmap that you want to be transparent to black.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. new box solving
    By Naum in forum RS has been updated.
    Replies: 36
    Last Post: 09-26-2008, 04:28 PM
  2. Solving the Rock Gas..
    By pwnaz0r in forum News and General
    Replies: 7
    Last Post: 09-21-2007, 11:04 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •