Skip to content

Instantly share code, notes, and snippets.

@inferiorhumanorgans
Created July 27, 2014 03:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save inferiorhumanorgans/2cd520dd4962c4abae37 to your computer and use it in GitHub Desktop.
Save inferiorhumanorgans/2cd520dd4962c4abae37 to your computer and use it in GitHub Desktop.
bb10 ruby sideloader
$ bundle exec ./main.rb ~/Downloads/Snap-2_0_0_2.bar
>>> Initial login request
<<< Response: {"RimTabletResponse"=>{"AuthChallenge"=>{"Status"=>"PasswdChallenge", "Challenge"=>"What's the airspeed velocity of an unladen swallow?U4057364cD2oH9B7V43VPa02p3E6", "Algorithm"=>"2", "Salt"=>"955398CDDECA0F0D", "ICount"=>"5463", "FailedAttempts"=>"0", "RetriesRemaining"=>"5"}}}
*** Challenge
*** V2 Login
<<< Response: {"RimTabletResponse"=>{"Auth"=>{"Status"=>"Success", "Smb"=>{"Credentials"=>{"User"=>"dtm", "Password"=>"[REDACTED]"}, "User"=>"dtm", "Pwd"=>"[REDACTED]", "Workgroup"=>"WORKGROUP", "NetBios"=>"%h"}}}}
*** Success
>>> Query: {"command"=>"Install", "dev_mode"=>"on", "file"=>#<UploadIO:0x007f9a73083850 @content_type="application/zip", @original_filename="Snap-2_0_0_2.bar", @local_path="/Users/alex/Downloads/Snap-2_0_0_2.bar", @io=#<File:/Users/alex/Downloads/Snap-2_0_0_2.bar>, @opts={}>}
>>> Posting to: /cgi-bin/appInstaller.cgi
Info: Action: Install
Info: Development mode: on
Info: File size: 1642566
Info: Installing ...
Info: Processing 1642566 bytes
Info: Progress 0%...
Info: Progress 7%...
Info: Progress 100%...
Info: Progress 100%...
actual_dname::com.redlightoflove.snap.gYABgA5fF2nSIzssm3HepEAovZQ
actual_id::gYABgA5fF2nSIzssm3HepEAovZQ
actual_version::2.0.0.2
result::success
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment