{"id":51,"date":"2022-08-24T10:51:34","date_gmt":"2022-08-24T10:51:34","guid":{"rendered":"https:\/\/themeger.shop\/wordpress\/katen\/personal-alt\/?p=51"},"modified":"2023-10-14T10:18:16","modified_gmt":"2023-10-14T08:18:16","slug":"15-unheard-ways-to-achieve-greater-walker","status":"publish","type":"post","link":"https:\/\/www.mutlu.ch\/?p=51","title":{"rendered":"Kusto Detective Agency: Chall #4"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><em>Hello. I have been watching you, and I am pretty impressed with your abilities of hacking and cracking little crimes.<br>Want to play big? Here is a prime puzzle for you. Find what it means and prove yourself worthy.<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">20INznpGzmkmK2NlZ0JILtO4OoYhOoYUB0OrOoTl5mJ3KgXrB0[8LTSSXUYhzUY8vmkyKUYevUYrDgYNK07yaf7soC3kKgMlOtHkLt[kZEclBtkyOoYwvtJGK2YevUY[v65iLtkeLEOhvtNlBtpizoY[v65yLdOkLEOhvtNlDn5lB07lOtJIDmllzmJ4vf7soCpiLdYIK0[eK27soleqO6keDpYp2CeH5d\\F\\fN6aQT6aQL[aQcUaQc[aQ57aQ5[aQDG<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Start by grabbing Prime Numbers from<br><a rel=\"noreferrer noopener\" href=\"https:\/\/kustodetectiveagency.blob.core.windows.net\/prime-numbers\/prime-numbers.csv.gz\" target=\"_blank\">https:\/\/kustodetectiveagency.blob.core.windows.net\/prime-numbers\/prime-numbers.csv.gz<\/a>&nbsp;and educate yourself on Special Prime numbers (<a rel=\"noreferrer noopener\" href=\"https:\/\/www.geeksforgeeks.org\/special-prime-numbers\" target=\"_blank\">https:\/\/www.geeksforgeeks.org\/special-prime-numbers<\/a>), this should get you to<br><strong>https:\/\/aka.ms\/{Largest special prime under 100M}<\/strong><\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Once you get this done \u2013 you will get the next hint.<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Cheers,<br>El Puente.<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Questions: What does the puzzle means?<\/p>\n\n\n\n<!--nextpage-->\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Chall #4 Solution<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Create the prime number table and import the data to your cluster:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>.execute database script &lt;|\n.create-merge table PrimeNumbers (PrimeNumber: int)\n.ingest async into table PrimeNumbers (@'https:\/\/kustodetectiveagency.blob.core.windows.net\/prime-numbers\/prime-numbers.csv.gz')<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Now you can calculate the prime number and generate the URL<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>let SpecialPrimeNumberCandidates = PrimeNumbers\n| sort by PrimeNumber asc \n| project PrimeNumber = toint(1 + PrimeNumber +  prev(PrimeNumber)), Number1= prev(PrimeNumber), Number2 = PrimeNumber\n| where PrimeNumber &lt; 100000000;\nSpecialPrimeNumberCandidates\n| join kind=inner PrimeNumbers on PrimeNumber\n| top 1 by PrimeNumber desc \n| project url = strcat(\"https:\/\/aka.ms\/\", tostring(PrimeNumber))<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"> you have now the URL : The URL is https:\/\/aka.ms\/99999517<br><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Visiting this URL you will get below hints<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Well done, my friend. It&#8217;s time to meet. Let&#8217;s go for a virtual sTREEt tour&#8230; Across the Big Apple city, there is a special place with Turkish Hazelnut and four Schubert Chokecherries within 66-meters radius area. Go &#8216;out&#8217; and look for me there, near the smallest American Linden tree (within the same area). Find me and the bottom line: my key message to you. Cheers, El Puente.<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>PS: You know what to do with the following:<\/em><\/p>\n\n\n\n<!--nextpage-->\n\n\n\n<pre class=\"wp-block-code\"><code>.execute database script &lt;|\n\/\/ The data below is from https:\/\/data.cityofnewyork.us\/Environment\/2015-Street-Tree-Census-Tree-Data\/uvpi-gqnh \n\/\/ The size of the tree can be derived using 'tree_dbh' (tree diameter) column.\n.create-merge table nyc_trees \n       (tree_id:int, block_id:int, created_at:datetime, tree_dbh:int, stump_diam:int, \ncurb_loc:string, status:string, health:string, spc_latin:string, spc_common:string, steward:string,\nguards:string, sidewalk:string, user_type:string, problems:string, root_stone:string, root_grate:string,\nroot_other:string, trunk_wire:string, trnk_light:string, trnk_other:string, brch_light:string, brch_shoe:string,\nbrch_other:string, address:string, postcode:int, zip_city:string, community_board:int, borocode:int, borough:string,\ncncldist:int, st_assem:int, st_senate:int, nta:string, nta_name:string, boro_ct:string, &#91;'state']:string,\nlatitude:real, longitude:real, x_sp:real, y_sp:real, council_district:int, census_tract:int, &#91;'bin']:int, bbl:long)\nwith (docstring = \"2015 NYC Tree Census\")\n.ingest async into table nyc_trees ('https:\/\/kustodetectiveagency.blob.core.windows.net\/el-puente\/1.csv.gz')\n.ingest async into table nyc_trees ('https:\/\/kustodetectiveagency.blob.core.windows.net\/el-puente\/2.csv.gz')\n.ingest async into table nyc_trees ('https:\/\/kustodetectiveagency.blob.core.windows.net\/el-puente\/3.csv.gz')\n\/\/ Get a virtual tour link with Latitude\/Longitude coordinates\n.create-or-alter function with (docstring = \"Virtual tour starts here\", skipvalidation = \"true\") VirtualTourLink(lat:real, lon:real) { \n\tprint Link=strcat('https:\/\/www.google.com\/maps\/@', lat, ',', lon, ',4a,75y,32.0h,79.0t\/data=!3m7!1e1!3m5!1s-1P!2e0!5s20191101T000000!7i16384!8i8192')\n}\n\/\/ Decrypt message helper function. Usage: print Message=Decrypt(message, key)\n.create-or-alter function with \n  (docstring = \"Use this function to decrypt messages\")\n  Decrypt(_message:string, _key:string) { \n    let S = (_key:string) {let r = array_concat(range(48, 57, 1), range(65, 92, 1), range(97, 122, 1)); \n    toscalar(print l=r, key=to_utf8(hash_sha256(_key)) | mv-expand l to typeof(int), key to typeof(int) | order by key asc | summarize make_string(make_list(l)))};\n    let cypher1 = S(tolower(_key)); let cypher2 = S(toupper(_key)); coalesce(base64_decode_tostring(translate(cypher1, cypher2, _message)), \"Failure: wrong key\")\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Query to calculate the possible location:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>let Schubert = nyc_trees\n| where spc_common has \"'Schubert' chokecherry\"\n| project tree_id, block_id, spc_common, latitude, longitude, h3_cell=geo_point_to_h3cell(longitude, latitude,10);\nlet Turkish = nyc_trees\n| where spc_common has \"Turkish Hazelnut\"\n| project tree_id, block_id, spc_common, latitude, longitude,h3_cell=geo_point_to_h3cell(longitude, latitude,10);\nlet PossibleLocations = Turkish\n| join kind=inner  (Schubert) on h3_cell\n| summarize count() by tree_id, latitude, longitude,h3_cell\n| where count_ == 4;\nlet Linden = nyc_trees\n| where spc_common has \"American linden\"\n| project tree_id, block_id, spc_common, latitude, longitude, tree_dbh,h3_cell=geo_point_to_h3cell(longitude, latitude,10)\n| where h3_cell==\"8a2a100dec9ffff\";\nPossibleLocations\n| join kind=inner Linden on h3_cell\n| top 1 by tree_dbh asc\n| project latitude=latitude1, longitude=longitude1<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code><\/code><\/pre>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"600\" height=\"600\" data-id=\"484\" src=\"https:\/\/www.mutlu.ch\/wp-content\/uploads\/2023\/02\/image-3.png\" alt=\"\" class=\"wp-image-484\" srcset=\"https:\/\/www.mutlu.ch\/wp-content\/uploads\/2023\/02\/image-3.png 600w, https:\/\/www.mutlu.ch\/wp-content\/uploads\/2023\/02\/image-3-300x300.png 300w, https:\/\/www.mutlu.ch\/wp-content\/uploads\/2023\/02\/image-3-150x150.png 150w, https:\/\/www.mutlu.ch\/wp-content\/uploads\/2023\/02\/image-3-60x60.png 60w, https:\/\/www.mutlu.ch\/wp-content\/uploads\/2023\/02\/image-3-360x360.png 360w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/figure>\n<\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Conclusion<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.credly.com\/org\/microsoft-azure-data-explorer\/badge\/kusto-detective-agency-case-4-badge\">Kusto Detective Agency &#8211; Case #4 Badge &#8211; Credly<\/a><\/li>\n\n\n\n<li><\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>VirtualTourLink(40.71222313, -73.96452201)<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Hello. I have been watching you, and I am pretty impressed with your abilities of hacking and cracking little crimes.Want to play big? Here is a prime puzzle for you. Find what it means and prove yourself worthy. 20INznpGzmkmK2NlZ0JILtO4OoYhOoYUB0OrOoTl5mJ3KgXrB0[8LTSSXUYhzUY8vmkyKUYevUYrDgYNK07yaf7soC3kKgMlOtHkLt[kZEclBtkyOoYwvtJGK2YevUY[v65iLtkeLEOhvtNlBtpizoY[v65yLdOkLEOhvtNlDn5lB07lOtJIDmllzmJ4vf7soCpiLdYIK0[eK27soleqO6keDpYp2CeH5d\\F\\fN6aQT6aQL[aQcUaQc[aQ57aQ5[aQDG Start by grabbing Prime Numbers fromhttps:\/\/kustodetectiveagency.blob.core.windows.net\/prime-numbers\/prime-numbers.csv.gz&nbsp;and educate yourself on Special Prime numbers (https:\/\/www.geeksforgeeks.org\/special-prime-numbers), this should get [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":484,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26,25],"tags":[24,23],"class_list":["post-51","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-kql","category-microsoft","tag-kql","tag-microsoft"],"_links":{"self":[{"href":"https:\/\/www.mutlu.ch\/index.php?rest_route=\/wp\/v2\/posts\/51","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mutlu.ch\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mutlu.ch\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mutlu.ch\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mutlu.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=51"}],"version-history":[{"count":3,"href":"https:\/\/www.mutlu.ch\/index.php?rest_route=\/wp\/v2\/posts\/51\/revisions"}],"predecessor-version":[{"id":714,"href":"https:\/\/www.mutlu.ch\/index.php?rest_route=\/wp\/v2\/posts\/51\/revisions\/714"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.mutlu.ch\/index.php?rest_route=\/wp\/v2\/media\/484"}],"wp:attachment":[{"href":"https:\/\/www.mutlu.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=51"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mutlu.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=51"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mutlu.ch\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=51"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}