{"id":314,"date":"2016-03-31T00:49:48","date_gmt":"2016-03-30T22:49:48","guid":{"rendered":"http:\/\/ubikuity.net\/blog\/?p=314"},"modified":"2020-12-27T01:10:09","modified_gmt":"2020-12-27T00:10:09","slug":"revising-the-course-hack-yourself-first-and-insert-tesla-model-s","status":"publish","type":"post","link":"https:\/\/ubikuity.net\/blog\/2016\/03\/31\/revising-the-course-hack-yourself-first-and-insert-tesla-model-s\/","title":{"rendered":"Revising the course Hack Yourself First and insert Tesla Model S"},"content":{"rendered":"<p>Last year, I had the chance to attend one of the excellent workshop &#8220;Hack Yourself First&#8221; presented by Troy Hunt: <a href=\"http:\/\/www.troyhunt.com\/2016\/02\/more-europe-even-more-again-and-more.html\">http:\/\/www.troyhunt.com\/2016\/02\/more-europe-even-more-again-and-more.html<\/a><\/p>\n<p>Now it&#8217;s time to practice again by using the (very simple) tool <a href=\"http:\/\/www.troyhunt.com\/2012\/10\/hacking-is-childs-play-sql-injection.html\">Havij<\/a> and use the dedicated and deliberately vulnerable website <a href=\"http:\/\/hackyourselffirst.troyhunt.com\/\">http:\/\/hackyourselffirst.troyhunt.com\/<\/a><\/p>\n<p><strong>To celebrate the unveiling of Tesla new car, I just played a little with Havij and I updated an existing car with Tesla Model S P90D characteristics: <a href=\"http:\/\/hackyourselffirst.troyhunt.com\/Supercar\/8\">http:\/\/hackyourselffirst.troyhunt.com\/Supercar\/8<\/a><\/strong><\/p>\n<p>I guess the changes will be reverted soon, so I took a screenshot:<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/ubikuity.net\/blog\/wp-content\/uploads\/2016\/03\/Sans-titre3-300x279.png\" alt=\"Sans titre3\" class=\"alignnone size-medium wp-image-315\" width=\"600\" height=\"558\" srcset=\"https:\/\/ubikuity.net\/blog\/wp-content\/uploads\/2016\/03\/Sans-titre3-300x279.png 300w, https:\/\/ubikuity.net\/blog\/wp-content\/uploads\/2016\/03\/Sans-titre3-768x714.png 768w, https:\/\/ubikuity.net\/blog\/wp-content\/uploads\/2016\/03\/Sans-titre3.png 947w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/ubikuity.net\/blog\/wp-content\/uploads\/2016\/03\/Sans-titre2.png\" alt=\"Sans titre2\" class=\"alignnone size-full wp-image-328\" width=\"600\" height=\"328\" srcset=\"https:\/\/ubikuity.net\/blog\/wp-content\/uploads\/2016\/03\/Sans-titre2.png 1920w, https:\/\/ubikuity.net\/blog\/wp-content\/uploads\/2016\/03\/Sans-titre2-300x164.png 300w, https:\/\/ubikuity.net\/blog\/wp-content\/uploads\/2016\/03\/Sans-titre2-768x419.png 768w, https:\/\/ubikuity.net\/blog\/wp-content\/uploads\/2016\/03\/Sans-titre2-1024x559.png 1024w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>Just for reference, here is the SQL script I used:<\/p>\n<blockquote><p>\n  UPDATE Make SET name=&#8217;Tesla Motors&#8217; WHERE MakeId=8;<br \/>\nUPDATE Supercar SET Cylinders=&#8217;V0&#8242; WHERE SupercarId=8;<br \/>\nUPDATE Supercar SET Description=&#8217;Model S acceleration is instantaneous, silent and smooth&#8217; WHERE SupercarId=8;<br \/>\nUPDATE Supercar SET EngineCc=0 WHERE SupercarId=8;<br \/>\nUPDATE Supercar SET EngineLayout=&#8217;Dual electric motor&#8217; WHERE SupercarId=8;<br \/>\nUPDATE Supercar SET Model=&#8217;Tesla Model S P90D&#8217; WHERE SupercarId=8;<br \/>\nUPDATE Supercar SET PowerKw=568 WHERE SupercarId=8;<br \/>\nUPDATE Supercar SET TopSpeedKm=250 WHERE SupercarId=8;<br \/>\nUPDATE Supercar SET TorqueNm=967 WHERE SupercarId=8;<br \/>\nUPDATE Supercar SET WeightKg=2200 WHERE SupercarId=8;<br \/>\nUPDATE Supercar SET ZeroToOneHundredKmInSecs=2.8 WHERE SupercarId=8;<\/p><\/blockquote>\n<p>Some of the other attendees created a blog post to summarize what we learned at the workshop:<\/p>\n<ul>\n<li><a href=\"https:\/\/theholyjava.wordpress.com\/2015\/06\/17\/notes-from-troy-hunts-hack-yourself-first-workshop\/\">https:\/\/theholyjava.wordpress.com\/2015\/06\/17\/notes-from-troy-hunts-hack-yourself-first-workshop\/<\/a><\/li>\n<li><a href=\"https:\/\/bjorncoltof.github.io\/2015\/06\/26\/ndcoslo-security-workshop\/\">https:\/\/bjorncoltof.github.io\/2015\/06\/26\/ndcoslo-security-workshop\/<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Last year, I had the chance to attend one of the excellent workshop &#8220;Hack Yourself First&#8221; presented by Troy Hunt: http:\/\/www.troyhunt.com\/2016\/02\/more-europe-even-more-again-and-more.html Now it&#8217;s time to practice again by using the (very simple) tool Havij and use the dedicated and deliberately vulnerable website http:\/\/hackyourselffirst.troyhunt.com\/ To celebrate the unveiling of Tesla new car, I just played a [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[5],"tags":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p6emaU-54","_links":{"self":[{"href":"https:\/\/ubikuity.net\/blog\/wp-json\/wp\/v2\/posts\/314"}],"collection":[{"href":"https:\/\/ubikuity.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubikuity.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubikuity.net\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/ubikuity.net\/blog\/wp-json\/wp\/v2\/comments?post=314"}],"version-history":[{"count":18,"href":"https:\/\/ubikuity.net\/blog\/wp-json\/wp\/v2\/posts\/314\/revisions"}],"predecessor-version":[{"id":554,"href":"https:\/\/ubikuity.net\/blog\/wp-json\/wp\/v2\/posts\/314\/revisions\/554"}],"wp:attachment":[{"href":"https:\/\/ubikuity.net\/blog\/wp-json\/wp\/v2\/media?parent=314"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubikuity.net\/blog\/wp-json\/wp\/v2\/categories?post=314"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubikuity.net\/blog\/wp-json\/wp\/v2\/tags?post=314"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}