{"id":699,"date":"2012-05-25T16:36:27","date_gmt":"2012-05-25T15:36:27","guid":{"rendered":"http:\/\/www.phillips321.co.uk\/?p=699"},"modified":"2012-05-25T16:41:53","modified_gmt":"2012-05-25T15:41:53","slug":"onesixtyone-version-8-now-with-port-option","status":"publish","type":"post","link":"https:\/\/www.phillips321.co.uk\/2012\/05\/25\/onesixtyone-version-8-now-with-port-option\/","title":{"rendered":"onesixtyone version 8 &#8211; now with port option"},"content":{"rendered":"<p>Writeup by scriptmonkey:<br \/>\nOnesixtyone&#8217;s origional developer <a href=\"http:\/\/www.phreedom.org\/solar\/onesixtyone\/\" target=\"_blank\">(phreedom.org &#8211; 404)<\/a> produced the great piece of code that was modified by <a href=\"http:\/\/labs.portcullis.co.uk\/application\/onesixtyone\/\" target=\"_blank\">Portcullis here<\/a>. Unfortunately onesixtyone has never supported obscure ports and insteads is fixed using UDP port 161.<\/p>\n<p>We&#8217;ll modify the code the allow a custom port using the -p flag<\/p>\n<p>Wanted to add it as a custom flag so added it to the structure which stores the command line options right at the top of the file.<\/p>\n<div class=\"codecolorer-container c vibrant\" style=\"overflow:auto;white-space:nowrap;width:100%;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/>2<br \/>3<br \/>4<br \/>5<br \/>6<br \/>7<br \/>8<br \/>9<br \/><\/div><\/td><td><div class=\"c codecolorer\">&nbsp; <span class=\"nu0\">73<\/span> <span class=\"kw4\">struct<\/span> <span class=\"br0\">&#123;<\/span><br \/>\n&nbsp; <span class=\"nu0\">74<\/span> &nbsp; &nbsp; <span class=\"kw4\">int<\/span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; debug<span class=\"sy0\">;<\/span><br \/>\n&nbsp; <span class=\"nu0\">75<\/span> &nbsp; &nbsp; <span class=\"kw4\">int<\/span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href=\"http:\/\/www.opengroup.org\/onlinepubs\/009695399\/functions\/log.html\"><span class=\"kw3\">log<\/span><\/a><span class=\"sy0\">;<\/span><br \/>\n&nbsp; <span class=\"nu0\">76<\/span> &nbsp; &nbsp; <span class=\"kw4\">int<\/span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; quiet<span class=\"sy0\">;<\/span><br \/>\n&nbsp; <span class=\"nu0\">77<\/span> &nbsp; &nbsp; <span class=\"kw4\">int<\/span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; port<span class=\"sy0\">;<\/span><br \/>\n&nbsp; <span class=\"nu0\">78<\/span> &nbsp; &nbsp; <span class=\"kw4\">long<\/span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;wait<span class=\"sy0\">;<\/span><br \/>\n&nbsp; <span class=\"nu0\">79<\/span> <br \/>\n&nbsp; <span class=\"nu0\">80<\/span> &nbsp; &nbsp; FILE &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class=\"sy0\">*<\/span>log_fd<span class=\"sy0\">;<\/span><br \/>\n&nbsp; <span class=\"nu0\">81<\/span> <span class=\"br0\">&#125;<\/span> o<span class=\"sy0\">;<\/span><\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>I don&#8217;t want to affect it if people don&#8217;t want to use the -p flag so I set the default to 161<\/p>\n<div class=\"codecolorer-container c vibrant\" style=\"overflow:auto;white-space:nowrap;width:100%;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/>2<br \/>3<br \/>4<br \/>5<br \/>6<br \/>7<br \/>8<br \/>9<br \/><\/div><\/td><td><div class=\"c codecolorer\">&nbsp;<span class=\"nu0\">175<\/span> &nbsp; &nbsp; o.<span class=\"me1\">debug<\/span> <span class=\"sy0\">=<\/span> <span class=\"nu0\">0<\/span><span class=\"sy0\">;<\/span><br \/>\n&nbsp;<span class=\"nu0\">176<\/span> &nbsp; &nbsp; o.<a href=\"http:\/\/www.opengroup.org\/onlinepubs\/009695399\/functions\/log.html\"><span class=\"kw3\">log<\/span><\/a> <span class=\"sy0\">=<\/span> <span class=\"nu0\">0<\/span><span class=\"sy0\">;<\/span><br \/>\n&nbsp;<span class=\"nu0\">177<\/span> &nbsp; &nbsp; o.<span class=\"me1\">quiet<\/span> <span class=\"sy0\">=<\/span> <span class=\"nu0\">0<\/span><span class=\"sy0\">;<\/span><br \/>\n&nbsp;<span class=\"nu0\">178<\/span> &nbsp; &nbsp; o.<span class=\"me1\">wait<\/span> <span class=\"sy0\">=<\/span> <span class=\"nu0\">10<\/span><span class=\"sy0\">;<\/span><br \/>\n&nbsp;<span class=\"nu0\">179<\/span> &nbsp; &nbsp; o.<span class=\"me1\">port<\/span> <span class=\"sy0\">=<\/span> <span class=\"nu0\">161<\/span><span class=\"sy0\">;<\/span><br \/>\n&nbsp;<span class=\"nu0\">180<\/span> &nbsp; &nbsp; input_file <span class=\"sy0\">=<\/span> <span class=\"nu0\">0<\/span><span class=\"sy0\">;<\/span><br \/>\n&nbsp;<span class=\"nu0\">181<\/span> &nbsp; &nbsp; community_file <span class=\"sy0\">=<\/span> <span class=\"nu0\">0<\/span><span class=\"sy0\">;<\/span><br \/>\n&nbsp;<span class=\"nu0\">182<\/span> <br \/>\n&nbsp;<span class=\"nu0\">183<\/span> &nbsp; &nbsp; o.<span class=\"me1\">log_fd<\/span> <span class=\"sy0\">=<\/span> NULL<span class=\"sy0\">;<\/span><\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>Now with it added to the structure if I want to customise it, I can access it using o.port so I look at the switch case statement which handles command line input.<\/p>\n<div class=\"codecolorer-container c vibrant\" style=\"overflow:auto;white-space:nowrap;width:100%;height:300px;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/>2<br \/>3<br \/>4<br \/>5<br \/>6<br \/>7<br \/>8<br \/>9<br \/>10<br \/>11<br \/>12<br \/>13<br \/>14<br \/>15<br \/>16<br \/>17<br \/>18<br \/>19<br \/>20<br \/>21<br \/>22<br \/>23<br \/>24<br \/>25<br \/>26<br \/>27<br \/>28<br \/>29<br \/>30<br \/><\/div><\/td><td><div class=\"c codecolorer\">&nbsp;<span class=\"nu0\">185<\/span> &nbsp; &nbsp; <span class=\"kw1\">while<\/span> <span class=\"br0\">&#40;<\/span><span class=\"br0\">&#40;<\/span>arg <span class=\"sy0\">=<\/span> getopt<span class=\"br0\">&#40;<\/span>argc<span class=\"sy0\">,<\/span> argv<span class=\"sy0\">,<\/span> <span class=\"st0\">&quot;c:di:o:p:w:q&quot;<\/span><span class=\"br0\">&#41;<\/span><span class=\"br0\">&#41;<\/span> <span class=\"sy0\">!=<\/span> EOF<span class=\"br0\">&#41;<\/span> <span class=\"br0\">&#123;<\/span><br \/>\n&nbsp;<span class=\"nu0\">186<\/span> &nbsp; &nbsp; &nbsp; &nbsp; <span class=\"kw1\">switch<\/span> <span class=\"br0\">&#40;<\/span>arg<span class=\"br0\">&#41;<\/span> <span class=\"br0\">&#123;<\/span><br \/>\n&nbsp;<span class=\"nu0\">187<\/span> &nbsp; &nbsp; &nbsp; &nbsp; <span class=\"kw1\">case<\/span> <span class=\"st0\">'c'<\/span><span class=\"sy0\">:<\/span><br \/>\n&nbsp;<span class=\"nu0\">188<\/span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; community_file <span class=\"sy0\">=<\/span> <span class=\"nu0\">1<\/span><span class=\"sy0\">;<\/span><br \/>\n&nbsp;<span class=\"nu0\">189<\/span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href=\"http:\/\/www.opengroup.org\/onlinepubs\/009695399\/functions\/strncpy.html\"><span class=\"kw3\">strncpy<\/span><\/a><span class=\"br0\">&#40;<\/span>community_filename<span class=\"sy0\">,<\/span> optarg<span class=\"sy0\">,<\/span><br \/>\n&nbsp;<span class=\"nu0\">190<\/span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class=\"kw4\">sizeof<\/span><span class=\"br0\">&#40;<\/span>community_filename<span class=\"br0\">&#41;<\/span><span class=\"br0\">&#41;<\/span><span class=\"sy0\">;<\/span><br \/>\n&nbsp;<span class=\"nu0\">191<\/span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class=\"kw2\">break<\/span><span class=\"sy0\">;<\/span><br \/>\n&nbsp;<span class=\"nu0\">192<\/span> &nbsp; &nbsp; &nbsp; &nbsp; <span class=\"kw1\">case<\/span> <span class=\"st0\">'d'<\/span><span class=\"sy0\">:<\/span><br \/>\n&nbsp;<span class=\"nu0\">193<\/span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; o.<span class=\"me1\">debug<\/span><span class=\"sy0\">++;<\/span><br \/>\n&nbsp;<span class=\"nu0\">194<\/span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class=\"kw2\">break<\/span><span class=\"sy0\">;<\/span><br \/>\n&nbsp;<span class=\"nu0\">195<\/span> &nbsp; &nbsp; &nbsp; &nbsp; <span class=\"kw1\">case<\/span> <span class=\"st0\">'i'<\/span><span class=\"sy0\">:<\/span><br \/>\n&nbsp;<span class=\"nu0\">196<\/span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; input_file <span class=\"sy0\">=<\/span> <span class=\"nu0\">1<\/span><span class=\"sy0\">;<\/span><br \/>\n&nbsp;<span class=\"nu0\">197<\/span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href=\"http:\/\/www.opengroup.org\/onlinepubs\/009695399\/functions\/strncpy.html\"><span class=\"kw3\">strncpy<\/span><\/a><span class=\"br0\">&#40;<\/span>input_filename<span class=\"sy0\">,<\/span> optarg<span class=\"sy0\">,<\/span> <span class=\"kw4\">sizeof<\/span><span class=\"br0\">&#40;<\/span>input_filename<span class=\"br0\">&#41;<\/span><span class=\"br0\">&#41;<\/span><span class=\"sy0\">;<\/span><br \/>\n&nbsp;<span class=\"nu0\">198<\/span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class=\"kw2\">break<\/span><span class=\"sy0\">;<\/span><br \/>\n&nbsp;<span class=\"nu0\">199<\/span> &nbsp; &nbsp; &nbsp; &nbsp; <span class=\"kw1\">case<\/span> <span class=\"st0\">'o'<\/span><span class=\"sy0\">:<\/span><br \/>\n&nbsp;<span class=\"nu0\">200<\/span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; o.<a href=\"http:\/\/www.opengroup.org\/onlinepubs\/009695399\/functions\/log.html\"><span class=\"kw3\">log<\/span><\/a> <span class=\"sy0\">=<\/span> <span class=\"nu0\">1<\/span><span class=\"sy0\">;<\/span><br \/>\n&nbsp;<span class=\"nu0\">201<\/span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href=\"http:\/\/www.opengroup.org\/onlinepubs\/009695399\/functions\/strncpy.html\"><span class=\"kw3\">strncpy<\/span><\/a><span class=\"br0\">&#40;<\/span>log_filename<span class=\"sy0\">,<\/span> optarg<span class=\"sy0\">,<\/span> <span class=\"kw4\">sizeof<\/span><span class=\"br0\">&#40;<\/span>log_filename<span class=\"br0\">&#41;<\/span><span class=\"br0\">&#41;<\/span><span class=\"sy0\">;<\/span><br \/>\n&nbsp;<span class=\"nu0\">202<\/span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class=\"kw2\">break<\/span><span class=\"sy0\">;<\/span><br \/>\n&nbsp;<span class=\"nu0\">203<\/span> &nbsp; &nbsp; &nbsp; &nbsp; <span class=\"kw1\">case<\/span> <span class=\"st0\">'w'<\/span><span class=\"sy0\">:<\/span><br \/>\n&nbsp;<span class=\"nu0\">204<\/span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; o.<span class=\"me1\">wait<\/span> <span class=\"sy0\">=<\/span> <a href=\"http:\/\/www.opengroup.org\/onlinepubs\/009695399\/functions\/atol.html\"><span class=\"kw3\">atol<\/span><\/a><span class=\"br0\">&#40;<\/span>optarg<span class=\"br0\">&#41;<\/span><span class=\"sy0\">;<\/span> &nbsp; &nbsp; &nbsp;<span class=\"coMULTI\">\/* convert to nanoseconds *\/<\/span><br \/>\n&nbsp;<span class=\"nu0\">205<\/span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class=\"kw2\">break<\/span><span class=\"sy0\">;<\/span><br \/>\n&nbsp;<span class=\"nu0\">206<\/span> &nbsp; &nbsp; &nbsp; &nbsp; <span class=\"kw1\">case<\/span> <span class=\"st0\">'q'<\/span><span class=\"sy0\">:<\/span><br \/>\n&nbsp;<span class=\"nu0\">207<\/span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; o.<span class=\"me1\">quiet<\/span> <span class=\"sy0\">=<\/span> <span class=\"nu0\">1<\/span><span class=\"sy0\">;<\/span><br \/>\n&nbsp;<span class=\"nu0\">208<\/span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class=\"kw2\">break<\/span><span class=\"sy0\">;<\/span><br \/>\n&nbsp;<span class=\"nu0\">209<\/span> &nbsp; &nbsp; &nbsp; &nbsp; <span class=\"kw1\">case<\/span> <span class=\"st0\">'p'<\/span><span class=\"sy0\">:<\/span><br \/>\n&nbsp;<span class=\"nu0\">210<\/span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; o.<span class=\"me1\">port<\/span> <span class=\"sy0\">=<\/span> <a href=\"http:\/\/www.opengroup.org\/onlinepubs\/009695399\/functions\/atoi.html\"><span class=\"kw3\">atoi<\/span><\/a><span class=\"br0\">&#40;<\/span>optarg<span class=\"br0\">&#41;<\/span><span class=\"sy0\">;<\/span> <span class=\"coMULTI\">\/*added ability to specify a port *\/<\/span><br \/>\n&nbsp;<span class=\"nu0\">211<\/span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class=\"kw2\">break<\/span><span class=\"sy0\">;<\/span><br \/>\n&nbsp;<span class=\"nu0\">212<\/span> &nbsp; &nbsp; &nbsp; &nbsp; <span class=\"kw1\">case<\/span> <span class=\"st0\">'?'<\/span><span class=\"sy0\">:<\/span><br \/>\n&nbsp;<span class=\"nu0\">213<\/span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; usage<span class=\"br0\">&#40;<\/span>argv<span class=\"br0\">&#91;<\/span><span class=\"nu0\">0<\/span><span class=\"br0\">&#93;<\/span><span class=\"br0\">&#41;<\/span><span class=\"sy0\">;<\/span><br \/>\n&nbsp;<span class=\"nu0\">214<\/span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href=\"http:\/\/www.opengroup.org\/onlinepubs\/009695399\/functions\/exit.html\"><span class=\"kw3\">exit<\/span><\/a><span class=\"br0\">&#40;<\/span><span class=\"nu0\">1<\/span><span class=\"br0\">&#41;<\/span><span class=\"sy0\">;<\/span><\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>having a colon after an argument in the getopt function means that it has a value associated with it, the difference between -p and -p 8161<\/p>\n<p>Then just handle it like a normal case statement (Dont forget the break!) only we have to convert a string (the default type of argument you get with a getopt call) into an integer, atoi does the job and so we can set o.port to be the new value.<\/p>\n<p>Now we have to find where onesixtyone has hardcoded a value of 161 in the code. \/161 in vim gets us the single hit so we change it.<\/p>\n<div class=\"codecolorer-container c vibrant\" style=\"overflow:auto;white-space:nowrap;width:100%;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/><\/div><\/td><td><div class=\"c codecolorer\"><span class=\"nu0\">897<\/span> &nbsp; &nbsp; &nbsp;remote_addr.<span class=\"me1\">sin_port<\/span> <span class=\"sy0\">=<\/span> htons<span class=\"br0\">&#40;<\/span>o.<span class=\"me1\">port<\/span><span class=\"br0\">&#41;<\/span><span class=\"sy0\">;<\/span><\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>Finally, changing the port is fine, but unless you&#8217;ve specified an easy to remember filename when you review the scans post test you&#8217;ll be like me and facedesking as to why you didn&#8217;t record the port number.<\/p>\n<p>So lets get rid of that issue. When we&#8217;re using a non-standard port, lets include it in the output file.<\/p>\n<p>A quick search through the code below the above snippet reveals lots of writes for when it finds a successful string. So lets use the same method of recording the port we&#8217;re scanning.<\/p>\n<div class=\"codecolorer-container c vibrant\" style=\"overflow:auto;white-space:nowrap;width:100%;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/>2<br \/>3<br \/>4<br \/><\/div><\/td><td><div class=\"c codecolorer\">&nbsp;<span class=\"nu0\">265<\/span> &nbsp; &nbsp; &nbsp; &nbsp; <a href=\"http:\/\/www.opengroup.org\/onlinepubs\/009695399\/functions\/printf.html\"><span class=\"kw3\">printf<\/span><\/a><span class=\"br0\">&#40;<\/span><span class=\"st0\">&quot;Logging to file %s<span class=\"es1\">\\n<\/span>&quot;<\/span><span class=\"sy0\">,<\/span> log_filename<span class=\"br0\">&#41;<\/span><span class=\"sy0\">;<\/span><br \/>\n&nbsp;<span class=\"nu0\">266<\/span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class=\"kw1\">if<\/span><span class=\"br0\">&#40;<\/span>o.<span class=\"me1\">port<\/span> <span class=\"sy0\">!=<\/span> <span class=\"nu0\">161<\/span><span class=\"br0\">&#41;<\/span><span class=\"br0\">&#123;<\/span><br \/>\n&nbsp;<span class=\"nu0\">267<\/span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; logfx<span class=\"br0\">&#40;<\/span><span class=\"st0\">&quot;Non-standard port selected - scanning port: %d<span class=\"es1\">\\n<\/span>&quot;<\/span><span class=\"sy0\">,<\/span> o.<span class=\"me1\">port<\/span><span class=\"br0\">&#41;<\/span><span class=\"sy0\">;<\/span><br \/>\n&nbsp;<span class=\"nu0\">268<\/span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class=\"br0\">&#125;<\/span><\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>and bobs your mothers brother. You&#8217;ve now got an updated onesixtyone that does custom ports. \ud83d\ude42<\/p>\n<p>Download the source and the binary from here:<br \/>\n<a href=\"http:\/\/www.phillips321.co.uk\/downloads\/onesixtyone-0.8.tar.gz\" target=\"_blank\">phillips321.co.uk\/downloads\/onesixtyone-0.8.tar.gz<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Writeup by scriptmonkey: Onesixtyone&#8217;s origional developer (phreedom.org &#8211; 404) produced the great piece of code that was modified by Portcullis here. Unfortunately onesixtyone has never supported obscure ports and insteads is fixed using UDP port 161. We&#8217;ll modify the code the allow a custom port using the -p flag Wanted to add it as a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[265,264,267,269,266,268],"_links":{"self":[{"href":"https:\/\/www.phillips321.co.uk\/wp-json\/wp\/v2\/posts\/699"}],"collection":[{"href":"https:\/\/www.phillips321.co.uk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.phillips321.co.uk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.phillips321.co.uk\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.phillips321.co.uk\/wp-json\/wp\/v2\/comments?post=699"}],"version-history":[{"count":7,"href":"https:\/\/www.phillips321.co.uk\/wp-json\/wp\/v2\/posts\/699\/revisions"}],"predecessor-version":[{"id":707,"href":"https:\/\/www.phillips321.co.uk\/wp-json\/wp\/v2\/posts\/699\/revisions\/707"}],"wp:attachment":[{"href":"https:\/\/www.phillips321.co.uk\/wp-json\/wp\/v2\/media?parent=699"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.phillips321.co.uk\/wp-json\/wp\/v2\/categories?post=699"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.phillips321.co.uk\/wp-json\/wp\/v2\/tags?post=699"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}