Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: [Python] NeoAccount Class (include AMF requests)

  1. #1

    Join Date
    Jun 2012
    Gender
    Posts
    131
    Thanks
    21
    Thanked 50 Times in 22 Posts


    Downloads
    37
    Uploads
    0
    Mentioned
    22 Post(s)
    Time Online
    4 d 17 h 8 m
    Avg. Time Online
    3 m
    Rep Power
    6

    [Python] NeoAccount Class (includes AMF requests)

    Written in Python 2.7





    In post, data should be a dictionary. In amf, packet is a string representing the packet.

    This was my first time writing anything to actually navigate neopets so let me know if I missed a crucial feature or if I could add anything to make it more secure/easier to use. I was just writing something to make use of rare's pin crack idea but it seems the idea is patched up. I figured I might as well share some of the code so that the time doesn't go to waste '
    Last edited by ikakk; 09-11-2012 at 09:40 PM.

  2. The Following 8 Users Say Thank You to ikakk For This Useful Post:

    Auroz (08-12-2015),DarkByte (10-01-2013),Ghosts (12-10-2014),Graff (09-11-2012),james087 (09-11-2012),mt5o5bd (02-05-2014),Reemer (09-11-2012),Water (10-16-2014)

  3. #2

    Join Date
    Jul 2012
    Gender
    Posts
    728
    Thanks
    105
    Thanked 201 Times in 114 Posts


    Downloads
    24
    Uploads
    0
    Mentioned
    88 Post(s)
    Time Online
    22 d 18 h 41 m
    Avg. Time Online
    17 m
    Rep Power
    7
    I have no idea what I'm looking at. Is this anything a normal non-coder like me can use?

  4. #3

    Join Date
    Jun 2012
    Gender
    Posts
    131
    Thanks
    21
    Thanked 50 Times in 22 Posts


    Downloads
    37
    Uploads
    0
    Mentioned
    22 Post(s)
    Time Online
    4 d 17 h 8 m
    Avg. Time Online
    3 m
    Rep Power
    6
    Not really. Hopefully it will inspire some coders to make new programs though!

    EDIT: Updated AMF to allow custom gateways since some places have their own. Check the headers of the packet you are spoofing to see what you should use.
    Last edited by ikakk; 09-11-2012 at 03:07 PM.

  5. The Following User Says Thank You to ikakk For This Useful Post:

    james087 (09-11-2012)

  6. #4
    james087's Avatar
    Join Date
    Sep 2012
    Gender
    Posts
    64
    Thanks
    20
    Thanked 7 Times in 5 Posts


    Downloads
    10
    Uploads
    0
    Mentioned
    1 Post(s)
    Time Online
    N/A
    Avg. Time Online
    N/A
    Rep Power
    6
    Quote Originally Posted by ikakk View Post
    Not really. Hopefully it will inspire some coders to make new programs though!
    Thanks! I'm pretty sure I'll be able to use bits of this in the near future. I haven't 100% committed to python yet, but the way things are headed I think I will be.

  7. #5

    Join Date
    Jun 2012
    Gender
    Posts
    131
    Thanks
    21
    Thanked 50 Times in 22 Posts


    Downloads
    37
    Uploads
    0
    Mentioned
    22 Post(s)
    Time Online
    4 d 17 h 8 m
    Avg. Time Online
    3 m
    Rep Power
    6
    Quote Originally Posted by james087 View Post
    Thanks! I'm pretty sure I'll be able to use bits of this in the near future. I haven't 100% committed to python yet, but the way things are headed I think I will be.
    It's a great language to get into things with. Use python 2 by the way not python 3. Let me know if you want help understanding why I did anything the way I did in this once you get started!

    Thanks for the rep by the way.

  8. The Following 2 Users Say Thank You to ikakk For This Useful Post:

    james087 (09-11-2012),Ryan~ (09-11-2012)

  9. #6

    Join Date
    Jun 2012
    Gender
    Posts
    131
    Thanks
    21
    Thanked 50 Times in 22 Posts


    Downloads
    37
    Uploads
    0
    Mentioned
    22 Post(s)
    Time Online
    4 d 17 h 8 m
    Avg. Time Online
    3 m
    Rep Power
    6
    @Miguel

    Yep. Pretty easy in python.

    edit: 99% sure cookies will work with multiple logins. I'll try it out sometime soon and get back to you.
    edit 2: Checked it out and I actually set a shared cookiejar so the cookie ended up getting replaced by the new login when you tried running two accounts in the same program. I made a few quick changes and gave each instance their own cookiejar so it now works with multiple accounts.
    Last edited by ikakk; 09-11-2012 at 06:21 PM.

  10. The Following User Says Thank You to ikakk For This Useful Post:

    Infamous Joe (09-12-2012)

  11. #7

    txtsd's Avatar
    Join Date
    Dec 2012
    Gender
    Location
    Stark & Arcadia
    Posts
    613
    Thanks
    426
    Thanked 263 Times in 117 Posts


    Downloads
    50
    Uploads
    2
    Mentioned
    84 Post(s)
    Time Online
    28 d 16 h 30 m
    Avg. Time Online
    22 m
    Rep Power
    5


    This is the bane of my existence.
    Is there no way to input a user's birthday and use that to login if an account is birthday locked?

  12. #8
    Saiyan Race





    Infamous Joe's Avatar
    Join Date
    Dec 2011
    Gender
    Location
    Hyperbolic Time Chamber
    Age
    26
    Posts
    9,756
    Thanks
    2,780
    Thanked 16,242 Times in 4,238 Posts


    Downloads
    23
    Uploads
    36
    Mentioned
    2985 Post(s)
    Time Online
    293 d 22 h 44 m
    Avg. Time Online
    3 h 44 m
    Rep Power
    10
    Gamer IDs

    Gamertag: Infam0us Joe Steam ID: infamousjoe
    Quote Originally Posted by txtsd View Post


    This is the bane of my existence.
    Is there no way to input a user's birthday and use that to login if an account is birthday locked?
    Of course, instead of returning a false value, just add a request to login again but with the birthday included in the POST data. If you dunno this try using WireShark or Fiddler, something that shows the variables with their values sent via browser.

  13. #9

    txtsd's Avatar
    Join Date
    Dec 2012
    Gender
    Location
    Stark & Arcadia
    Posts
    613
    Thanks
    426
    Thanked 263 Times in 117 Posts


    Downloads
    50
    Uploads
    2
    Mentioned
    84 Post(s)
    Time Online
    28 d 16 h 30 m
    Avg. Time Online
    22 m
    Rep Power
    5
    Quote Originally Posted by Infamous Joe View Post
    Of course, instead of returning a false value, just add a request to login again but with the birthday included in the POST data. If you dunno this try using WireShark or Fiddler, something that shows the variables with their values sent via browser.
    It's time to learn how to use WireShark! Do you know the variables and values yourself?

  14. #10
    Saiyan Race





    Infamous Joe's Avatar
    Join Date
    Dec 2011
    Gender
    Location
    Hyperbolic Time Chamber
    Age
    26
    Posts
    9,756
    Thanks
    2,780
    Thanked 16,242 Times in 4,238 Posts


    Downloads
    23
    Uploads
    36
    Mentioned
    2985 Post(s)
    Time Online
    293 d 22 h 44 m
    Avg. Time Online
    3 h 44 m
    Rep Power
    10
    Gamer IDs

    Gamertag: Infam0us Joe Steam ID: infamousjoe
    Quote Originally Posted by txtsd View Post
    It's time to learn how to use WireShark! Do you know the variables and values yourself?
    Nah, that's like asking me if I know the URL to auction an item from my inventory for example.

Page 1 of 2 12 LastLast

Posting Permissions

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