<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7881422778420642178</id><updated>2025-07-06T08:36:54.852-04:00</updated><category term="bluetooth wireless wired devices"/><category term="iFamebook facebook scam"/><category term="spam youtube service scam"/><title type='text'>the cyber dung</title><subtitle type='html'>malware security, reverse engineering, coding, and sundot kulangot</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://thecyberdung.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7881422778420642178/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://thecyberdung.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/7881422778420642178/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>46</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7881422778420642178.post-6475345031370911388</id><published>2022-05-19T04:56:00.008-04:00</published><updated>2022-05-21T07:10:12.986-04:00</updated><title type='text'>Fakenet-NG Errno 98 in REMnux v2021.15.2</title><content type='html'>&lt;p&gt;Running FakeNet-NG from a freshly deployed Remnux may give out an Errno 98 message.&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMUXSbzVhtDSXgPfBgIYRE7l0zXgu6t2O0UHl9zuyOTZUdj_bu28tEXAReo6bOzzlBe1TzTthl1ZCRkutwZrFUvtmDJPYhJimHMwo6sdxd-Z0wUUTzdcpwOkhYeFegRxK708O4hSk76Dx_IXYRtSR1IMNBCoJTUBUscMqgntQoZuXBJrsA-6fDsTt0/s906/2.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;439&quot; data-original-width=&quot;906&quot; height=&quot;155&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMUXSbzVhtDSXgPfBgIYRE7l0zXgu6t2O0UHl9zuyOTZUdj_bu28tEXAReo6bOzzlBe1TzTthl1ZCRkutwZrFUvtmDJPYhJimHMwo6sdxd-Z0wUUTzdcpwOkhYeFegRxK708O4hSk76Dx_IXYRtSR1IMNBCoJTUBUscMqgntQoZuXBJrsA-6fDsTt0/s320/2.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;For this writing, the issue was encountered in a REMnux v2021.15.2.&amp;nbsp; Hopefully, this would also be helpful with other version of REMnux.&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_q-hRJm8YE0a96IznFrKvIXSq22RyyoiEzR7K-DQVEQhcqmzeRvTLRoRK0XBdBAcDZuBlJyf3LqTezUGJvwfUjvj8J8e1d8eoQIRBN4UY2qE7EWpt1TpSI6kM31A7MmkT6_oSZl6tljwrzCNq3hsfqAK-4zrbLEilyPm3pyp4lu7NzTXje_hC-PM7/s320/1.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;69&quot; data-original-width=&quot;320&quot; height=&quot;69&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_q-hRJm8YE0a96IznFrKvIXSq22RyyoiEzR7K-DQVEQhcqmzeRvTLRoRK0XBdBAcDZuBlJyf3LqTezUGJvwfUjvj8J8e1d8eoQIRBN4UY2qE7EWpt1TpSI6kM31A7MmkT6_oSZl6tljwrzCNq3hsfqAK-4zrbLEilyPm3pyp4lu7NzTXje_hC-PM7/s1600/1.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;This issue is usually encountered because another program is binded to the DNS port (53).&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWphC0L2GvxTYIKFgr50O-FS88lcL2HNDSPc78jkmTlq__al_pYV0RsFxEIpIyTXcpKd7t6tWhmrxox5hwfXkUVLyQceh5I27CF8-_-WQeft6V1qNRMM2ucZPui75s7U8rNxK28SQ_KlSJss6R74NwpeDbMG0ImwTQeVbusI7hZh5PsjhsERKiMPuu/s894/3.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;108&quot; data-original-width=&quot;894&quot; height=&quot;49&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWphC0L2GvxTYIKFgr50O-FS88lcL2HNDSPc78jkmTlq__al_pYV0RsFxEIpIyTXcpKd7t6tWhmrxox5hwfXkUVLyQceh5I27CF8-_-WQeft6V1qNRMM2ucZPui75s7U8rNxK28SQ_KlSJss6R74NwpeDbMG0ImwTQeVbusI7hZh5PsjhsERKiMPuu/w400-h49/3.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;div&gt;To fix this, we only need a few steps.&lt;/div&gt;&lt;div&gt;&lt;ol&gt;&lt;li&gt;FakeNet-NG requires a valid network route.&amp;nbsp;&amp;nbsp;&lt;/li&gt;&lt;ol&gt;&lt;li&gt;Check VM network settings&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiynfodGhcdsd1RVFMF6FJkAESNhlky112XgkE3Xp526DQrW1a1KKSIhxzl36ywG_89AHB8BKB7CAZfZGLJ1Lv8KMWMNl75F_8_XklOE8l_4fjDvhHbG7JUbEOhz2mb1YRzx_u4CLSbPePwqvUKZRQYnnq6tuOxJ_lCrJbcu_Xck1N3WUgjJBHM3RVP/s824/4.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;449&quot; data-original-width=&quot;824&quot; height=&quot;217&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiynfodGhcdsd1RVFMF6FJkAESNhlky112XgkE3Xp526DQrW1a1KKSIhxzl36ywG_89AHB8BKB7CAZfZGLJ1Lv8KMWMNl75F_8_XklOE8l_4fjDvhHbG7JUbEOhz2mb1YRzx_u4CLSbPePwqvUKZRQYnnq6tuOxJ_lCrJbcu_Xck1N3WUgjJBHM3RVP/w400-h217/4.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;And an IP address&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZ-iepVSFdlUMp11I1D1nhjWkRPvPhCdNcJ50TSgwDKPBGWAXdU6AbjRTO8tLzQj3LROUq1_f7M1u43plm50hltwiFhWAR9si-ylHrhjVIZ09l7VzUFrhymFdh_Y_2cJ1Jg9h0NtCvUYMYxVrQG5ktAW7HPgXZ2a0ft7881vcN543aNLzSdRwXo37Q/s941/5.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;232&quot; data-original-width=&quot;941&quot; height=&quot;99&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZ-iepVSFdlUMp11I1D1nhjWkRPvPhCdNcJ50TSgwDKPBGWAXdU6AbjRTO8tLzQj3LROUq1_f7M1u43plm50hltwiFhWAR9si-ylHrhjVIZ09l7VzUFrhymFdh_Y_2cJ1Jg9h0NtCvUYMYxVrQG5ktAW7HPgXZ2a0ft7881vcN543aNLzSdRwXo37Q/w400-h99/5.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Problems with having an IP address may be resolved by renewing the dhcp with this command&lt;br /&gt;
  &lt;pre style=&quot;background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;&quot;&gt;&lt;code style=&quot;color: black; overflow-wrap: normal; word-wrap: normal;&quot;&gt;renew-dhcp&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;&lt;/li&gt;&lt;li&gt;(Optional) Check Internet connection&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieo9WGSU-d9V5u4UYjXF6ik91I7CN8Z6Nb6WdX8PRTmeNYeYqYltyWoQLasQMhe-_4CBJOSgqLTH9IE1kP9tCZVjiYw2fd4Eu46qYjacOFDRBOjtMe88uEQVNNtqbHaN4QWGFTgf2_Tjt7qc4igLNlslXEhEIeQeVeU0RJA0LGhRHc0uj5NDY9Zm3G/s870/6.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;162&quot; data-original-width=&quot;870&quot; height=&quot;75&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieo9WGSU-d9V5u4UYjXF6ik91I7CN8Z6Nb6WdX8PRTmeNYeYqYltyWoQLasQMhe-_4CBJOSgqLTH9IE1kP9tCZVjiYw2fd4Eu46qYjacOFDRBOjtMe88uEQVNNtqbHaN4QWGFTgf2_Tjt7qc4igLNlslXEhEIeQeVeU0RJA0LGhRHc0uj5NDY9Zm3G/w400-h75/6.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;Since the systemd-resolve is bound with the DNS port, we&#39;ll have to disable it first.&lt;br /&gt;
  &lt;pre style=&quot;background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;&quot;&gt;&lt;code style=&quot;color: black; overflow-wrap: normal; word-wrap: normal;&quot;&gt;sudo systemctl stop systemd-resolved
sudo systemctl disable systemd-resolved&lt;/code&gt;&lt;/pre&gt;
  &lt;/li&gt;&lt;li&gt;Then we have two options to get DNS resolution&lt;/li&gt;&lt;ol&gt;&lt;li&gt;(Option 1)&lt;/li&gt;&lt;ol&gt;&lt;li&gt;Edit /etc/NetworkManager/NetworkManager.conf&lt;br /&gt;
  &lt;pre style=&quot;background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;&quot;&gt;&lt;code style=&quot;color: black; overflow-wrap: normal; word-wrap: normal;&quot;&gt;sudo nano /etc/NetworkManager/NetworkManager.conf&lt;/code&gt;&lt;/pre&gt;
  
  &lt;/li&gt;&lt;li&gt;Then add the following line under [main]&lt;br /&gt;
  
  &lt;pre style=&quot;background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;&quot;&gt;&lt;code style=&quot;color: black; overflow-wrap: normal; word-wrap: normal;&quot;&gt;dns=default&lt;/code&gt;&lt;/pre&gt;
  
  &lt;/li&gt;&lt;/ol&gt;&lt;li&gt;(Option 2)&lt;/li&gt;&lt;ol&gt;&lt;li&gt;Edit /etc/resolv.confc/systemd/resolved.conf&lt;br /&gt;
  &lt;pre style=&quot;background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;&quot;&gt;&lt;code style=&quot;color: black; overflow-wrap: normal; word-wrap: normal;&quot;&gt;sudo nano /etc/systemd/resolved.conf&lt;/code&gt;&lt;/pre&gt;
  &lt;/li&gt;&lt;li&gt;Then make sure that the following line is commented out&lt;br /&gt;&lt;pre style=&quot;background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;&quot;&gt;&lt;span style=&quot;font-family: monospace; font-size: medium; white-space: normal;&quot;&gt;&lt;code style=&quot;color: black; overflow-wrap: normal; word-wrap: normal;&quot;&gt;#DNSStubListener=yes&lt;/code&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;Then add the following line&lt;br /&gt;&lt;pre style=&quot;background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;&quot;&gt;&lt;span style=&quot;font-family: monospace; font-size: medium; white-space: normal;&quot;&gt;&lt;code style=&quot;color: black; overflow-wrap: normal; word-wrap: normal;&quot;&gt;DNSStubListener=no&lt;/code&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;&lt;li&gt;Delete resolv.conf&lt;br /&gt;&lt;pre style=&quot;background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;&quot;&gt;&lt;span style=&quot;font-family: monospace; font-size: medium; white-space: normal;&quot;&gt;&lt;code style=&quot;color: black; overflow-wrap: normal; word-wrap: normal;&quot;&gt;sudo rm /etc/resolv.conf&lt;/code&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;Link the resolv.conf produced by systemd to /etc/resolv.conf&lt;br /&gt;&lt;pre style=&quot;background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;&quot;&gt;&lt;span style=&quot;font-family: monospace; font-size: medium; white-space: normal;&quot;&gt;&lt;code style=&quot;color: black; overflow-wrap: normal; word-wrap: normal;&quot;&gt;sudo ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf&lt;/code&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;Restart NetworkManager to reflect the changes&lt;br /&gt;&lt;pre style=&quot;background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;&quot;&gt;&lt;span style=&quot;font-family: monospace; font-size: medium; white-space: normal;&quot;&gt;&lt;code style=&quot;color: black; overflow-wrap: normal; word-wrap: normal;&quot;&gt;sudo systemctl restart NetworkManager&lt;/code&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;Run Fakenet-NG&lt;br /&gt;&lt;pre style=&quot;background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;&quot;&gt;&lt;span style=&quot;font-family: monospace; font-size: large; white-space: normal;&quot;&gt;&lt;code style=&quot;color: black; overflow-wrap: normal; word-wrap: normal;&quot;&gt;sudo fakenet&lt;/code&gt;&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5SN2PIfY1LK8ToD3IsXeIa9LeCkRtxAgFTSrafj_gNt8rZRu747C0iSets0hN8QJg0onlAgpyivgV16IM4ulXfbD-9BjMsTTw7mHn8FDWgQGTpMmkoeUDsnWA3tfhphaTa-co-FRblIDtmUmWSmDR2U5U9IFn_3r_9tnWpacujkg1nW0eTZQL2QKQ/s1294/7.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;430&quot; data-original-width=&quot;1294&quot; height=&quot;133&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5SN2PIfY1LK8ToD3IsXeIa9LeCkRtxAgFTSrafj_gNt8rZRu747C0iSets0hN8QJg0onlAgpyivgV16IM4ulXfbD-9BjMsTTw7mHn8FDWgQGTpMmkoeUDsnWA3tfhphaTa-co-FRblIDtmUmWSmDR2U5U9IFn_3r_9tnWpacujkg1nW0eTZQL2QKQ/w400-h133/7.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;&lt;span style=&quot;font-family: monospace; font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;At this point, running fakenet will be successful.&amp;nbsp; However, as of this writing, Fakenet-NG in Linux defaults to a &lt;b&gt;MultiHost&lt;/b&gt; network mode.&amp;nbsp; For some reason, in this mode, visiting a website from the browser will not show up the expected Fakenet-NG default HTML page.&amp;nbsp; Fakenet-NG logs will only show requests to IP addresses.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjp8Bjii6_mjlAhRlGpnP_DF87zLpRqv7wR-1k_URlbC9RezwawcLL-OF3LQERSaiipFQ62fC3l9k1oxfcEbVYZH1r8yrwiswXQkFXnSpyaZMs54S0Ax3yOPbgdwTNqM7sxrQEwaV8RZiyOIoKowXse6yqGhdMB_vpZQ0ezT5VjPHWkeY0VwTcQMwiR/s1284/8.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;421&quot; data-original-width=&quot;1284&quot; height=&quot;131&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjp8Bjii6_mjlAhRlGpnP_DF87zLpRqv7wR-1k_URlbC9RezwawcLL-OF3LQERSaiipFQ62fC3l9k1oxfcEbVYZH1r8yrwiswXQkFXnSpyaZMs54S0Ax3yOPbgdwTNqM7sxrQEwaV8RZiyOIoKowXse6yqGhdMB_vpZQ0ezT5VjPHWkeY0VwTcQMwiR/w400-h131/8.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;What we want is to see request headers along with the domain.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;All we need to do is change the network mode to &lt;b&gt;SingleHost&lt;/b&gt;.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Just press CTRL+C to stop Fakenet-NG.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;The path of Fakenet-NG&#39;s configuration is shown after running Fakenet-NG.&amp;nbsp; The first entry at the start of the log.&amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;pre style=&quot;background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;&quot;&gt;&lt;span style=&quot;white-space: normal;&quot;&gt;&lt;code style=&quot;color: black; overflow-wrap: normal; word-wrap: normal;&quot;&gt;sudo nano /usr/local/lib/python2.7/dist-packages/fakenet/configs/default.ini&lt;/code&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Edit the the configuration and change the &lt;b&gt;NetworkMode&lt;/b&gt; to &lt;b&gt;SingleHost&lt;/b&gt;.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSXGhflAyS9YdU-kk3H1w_2D-a17GMdPlzfEHrgxaJdGiiWRyY0hebxDjxf3fXZYG4cFFBQ3fgE7AGONEheihj2q4zAzHLqBKLJjeNWQLqmq5qL--MkHQDAkyC6ncsjvKqprDYve0DEa_of6GibGmzR8wNSRuJu5jc7FC6x2gU-1fF47luMwf0JBpu/s1017/9.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;189&quot; data-original-width=&quot;1017&quot; height=&quot;74&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSXGhflAyS9YdU-kk3H1w_2D-a17GMdPlzfEHrgxaJdGiiWRyY0hebxDjxf3fXZYG4cFFBQ3fgE7AGONEheihj2q4zAzHLqBKLJjeNWQLqmq5qL--MkHQDAkyC6ncsjvKqprDYve0DEa_of6GibGmzR8wNSRuJu5jc7FC6x2gU-1fF47luMwf0JBpu/w400-h74/9.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;Run Fakenet-NG again then visit any website.&amp;nbsp; It should now display Fakenet-NG&#39;s default page.&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSKC7hKxGd5kFPflf2UrITZ_Y20bevzb_wollRWyoWlWSi0iGzGQmTk1RSRprQLK7rAZlaV5w-kfitdUO8hm-NmWB22gJVhKFnVZQAPd3A1LWcYeUHqTpTk0ioVNv6t_c5WYI18YPLZ0XdOHYF2xDPc2Wbrjtf6YQbSGN2eWyleQQUTFkkoj71wYUC/s736/10.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;736&quot; data-original-width=&quot;662&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSKC7hKxGd5kFPflf2UrITZ_Y20bevzb_wollRWyoWlWSi0iGzGQmTk1RSRprQLK7rAZlaV5w-kfitdUO8hm-NmWB22gJVhKFnVZQAPd3A1LWcYeUHqTpTk0ioVNv6t_c5WYI18YPLZ0XdOHYF2xDPc2Wbrjtf6YQbSGN2eWyleQQUTFkkoj71wYUC/w360-h400/10.jpg&quot; width=&quot;360&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;If this helped you, please subscribe to my YT channel as I plan to start uploading some tutorials there.&amp;nbsp; Channel is 8-bit n00b.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://www.youtube.com/channel/UCUeqKJQrhzsUpsuDTXSDk4w?sub_confirmation=1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;320&quot; data-original-width=&quot;640&quot; height=&quot;160&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuXP09fPAir7SK6IH4IQ2Rdgu3wFMDKc1tk59fGHO6l6fSEqgquxKDCmrB-PKHbwhQ6CWoI9ujTKdH4h7OAA1TpYfWJFNPZ5QOPKFEuysTR5q9thQoO5hkxhIRrCu6NnFVJUOZH-YB-3IB5oX886cfrgxvjntjdeXOlp-6Ep8efwTJNgmmKgV3IXd2/s320/youtube-g0aa269dfe_640.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;ol style=&quot;text-align: left;&quot;&gt;&lt;/ol&gt;&lt;/div&gt;&lt;div&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7881422778420642178/posts/default/6475345031370911388'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7881422778420642178/posts/default/6475345031370911388'/><link rel='alternate' type='text/html' href='http://thecyberdung.blogspot.com/2022/05/fakenet-ng-errno-98-in-remnux-v2021152.html' title='Fakenet-NG Errno 98 in REMnux v2021.15.2'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMUXSbzVhtDSXgPfBgIYRE7l0zXgu6t2O0UHl9zuyOTZUdj_bu28tEXAReo6bOzzlBe1TzTthl1ZCRkutwZrFUvtmDJPYhJimHMwo6sdxd-Z0wUUTzdcpwOkhYeFegRxK708O4hSk76Dx_IXYRtSR1IMNBCoJTUBUscMqgntQoZuXBJrsA-6fDsTt0/s72-c/2.jpg" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-7881422778420642178.post-4047133974073218283</id><published>2021-07-15T05:49:00.004-04:00</published><updated>2021-07-15T05:49:51.531-04:00</updated><title type='text'>dd-wrt AP setup on tplink (wired connected routers)</title><content type='html'>&lt;p&gt;instructions: https://wiki.dd-wrt.com/wiki/index.php/Wireless_access_point&lt;/p&gt;&lt;p&gt;router firmware:&amp;nbsp; https://mirror.math.princeton.edu/pub/ddwrt/&lt;/p&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7881422778420642178/posts/default/4047133974073218283'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7881422778420642178/posts/default/4047133974073218283'/><link rel='alternate' type='text/html' href='http://thecyberdung.blogspot.com/2021/07/dd-wrt-ap-setup-on-tplink-wired.html' title='dd-wrt AP setup on tplink (wired connected routers)'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7881422778420642178.post-9181623983754718047</id><published>2021-06-23T07:17:00.005-04:00</published><updated>2021-06-23T07:17:59.324-04:00</updated><title type='text'>Setting up IDA Pro to remote debug a Linux executable with GDB server</title><content type='html'>&lt;p&gt;To setup, make sure that debugging VM and target Linux VM can see each other.&lt;/p&gt;&lt;p&gt;Just follow instructions at&amp;nbsp;https://hex-rays.com/products/ida/support/idadoc/1343.shtml&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Some pitfalls:&lt;/p&gt;&lt;p&gt;IDA cannot establish a connection&lt;/p&gt;&lt;p&gt;* check settings carefully&lt;/p&gt;&lt;p&gt;* check VM settings&lt;/p&gt;&lt;p&gt;* check IP config&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; - To set static IP in Linux. e.g.&amp;nbsp;&lt;/span&gt;sudo ifconfig ens33 10.10.10.10 netmask 255.255.255.0&lt;/p&gt;&lt;p&gt;* Try running with admin or su privileges&lt;/p&gt;&lt;p&gt;* firewall may be blocking the ports. To allow port connectivity:&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #fcfcfc; font-family: menlo, monaco, monospace; font-size: 0.9rem;&quot;&gt;$ sudo ufw allow from any to any port 23946,23947 proto tcp&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7881422778420642178/posts/default/9181623983754718047'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7881422778420642178/posts/default/9181623983754718047'/><link rel='alternate' type='text/html' href='http://thecyberdung.blogspot.com/2021/06/setting-up-ida-pro-to-remote-debug.html' title='Setting up IDA Pro to remote debug a Linux executable with GDB server'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7881422778420642178.post-654953581971152063</id><published>2021-06-16T12:24:00.000-04:00</published><updated>2021-06-16T12:24:19.450-04:00</updated><title type='text'>Compiling java for compatibility and JAR for other platforms</title><content type='html'>&lt;p&gt;Build it with JAR and make it backward compatible.&amp;nbsp; &amp;nbsp;&lt;/p&gt;&lt;p&gt;Better way to explain this is to instead show a hello world example of this.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Folder and file structure:&lt;/p&gt;&lt;div style=&quot;background-color: #1e1e1e; font-family: &amp;quot;Droid Sans Mono&amp;quot;, monospace, monospace, &amp;quot;Droid Sans Fallback&amp;quot;; font-size: 10px; line-height: 14px; white-space: pre;&quot;&gt;&lt;div&gt;&lt;span style=&quot;color: #fcff01;&quot;&gt;manifest.txt&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #fcff01;&quot;&gt;src&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #fcff01;&quot;&gt;src/hello.java&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #fcff01;&quot;&gt;src/libraries&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #fcff01;&quot;&gt;src/libraries/a.java&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #fcff01;&quot;&gt;src/libraries/b.java&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #fcff01;&quot;&gt;build&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #fcff01;&quot;&gt;build/classes&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Using --release 8 means build it for version 8.&amp;nbsp; Latest version supports backward compatibility.&amp;nbsp;&lt;/p&gt;&lt;div style=&quot;background-color: #1e1e1e; font-family: &amp;quot;Droid Sans Mono&amp;quot;, monospace, monospace, &amp;quot;Droid Sans Fallback&amp;quot;; font-size: 10px; line-height: 14px; white-space: pre;&quot;&gt;&lt;div&gt;&lt;span style=&quot;color: #fcff01;&quot;&gt;javac --release 8 -sourcepath src -d build/classes src/*.java&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #fcff01;&quot;&gt;javac --release 8 -sourcepath src -d build/classes src/libraries/*.java&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #fcff01;&quot;&gt;jar cfmv build/jar/hello.jar manifest.txt -C build/classes .&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #fcff01;&quot;&gt;java -jar build/jar/hello.jar&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;manifest.txt&lt;/p&gt;&lt;div style=&quot;background-color: #1e1e1e; font-family: &amp;quot;Droid Sans Mono&amp;quot;, monospace, monospace, &amp;quot;Droid Sans Fallback&amp;quot;; font-size: 10px; line-height: 14px; white-space: pre;&quot;&gt;&lt;div&gt;&lt;span style=&quot;color: #fcff01;&quot;&gt;Main-Class: hello&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;src/hello.java&lt;/p&gt;&lt;div style=&quot;background-color: #1e1e1e; font-family: &amp;quot;Droid Sans Mono&amp;quot;, monospace, monospace, &amp;quot;Droid Sans Fallback&amp;quot;; font-size: 10px; line-height: 14px; white-space: pre;&quot;&gt;&lt;div&gt;&lt;span style=&quot;color: #fcff01;&quot;&gt;import libraries.*;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;color: #fcff01;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;div&gt;&lt;span style=&quot;color: #fcff01;&quot;&gt;public class hello {&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #fcff01;&quot;&gt;    public static void main(String[] args){&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #fcff01;&quot;&gt;        System.out.println(&quot;Hello World main&quot;);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #fcff01;&quot;&gt;        System.out.println(a.message());&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #fcff01;&quot;&gt;        b.message(&quot;hello from b&quot;);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #fcff01;&quot;&gt;    }&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #fcff01;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;src/libraries/a.java&lt;/p&gt;&lt;div style=&quot;background-color: #1e1e1e; font-family: &amp;quot;Droid Sans Mono&amp;quot;, monospace, monospace, &amp;quot;Droid Sans Fallback&amp;quot;; font-size: 10px; line-height: 14px; white-space: pre;&quot;&gt;&lt;div&gt;&lt;span style=&quot;color: #fcff01;&quot;&gt;package libraries;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #fcff01;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #fcff01;&quot;&gt;public class a {&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #fcff01;&quot;&gt;    public static String message(){&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #fcff01;&quot;&gt;        String s = &quot;&quot;;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #fcff01;&quot;&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;s = &quot;Hello from a&quot;;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #fcff01;&quot;&gt;        return s;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #fcff01;&quot;&gt;    }&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #fcff01;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;src/libraries/b.java&lt;/p&gt;&lt;div style=&quot;background-color: #1e1e1e; font-family: &amp;quot;Droid Sans Mono&amp;quot;, monospace, monospace, &amp;quot;Droid Sans Fallback&amp;quot;; font-size: 10px; line-height: 14px; white-space: pre;&quot;&gt;&lt;div&gt;&lt;span style=&quot;color: #fcff01;&quot;&gt;package libraries;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;color: #fcff01;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;div&gt;&lt;span style=&quot;color: #fcff01;&quot;&gt;public class b {&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #fcff01;&quot;&gt;    public static void message(String args){&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #fcff01;&quot;&gt;        System.out.println(args);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #fcff01;&quot;&gt;    }&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #fcff01;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7881422778420642178/posts/default/654953581971152063'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7881422778420642178/posts/default/654953581971152063'/><link rel='alternate' type='text/html' href='http://thecyberdung.blogspot.com/2021/06/compiling-java-for-compatibility-and.html' title='Compiling java for compatibility and JAR for other platforms'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7881422778420642178.post-2529024651215683582</id><published>2021-03-15T06:16:00.003-04:00</published><updated>2021-03-15T06:16:53.914-04:00</updated><title type='text'>Ubuntu support for fingerprint scanner 138a:0090 138a:0097 and 06cb:009a</title><content type='html'>As of this writing, the default installation of Ubuntu doesn&#39;t have a software that can support most fingerprint scanner hardware.  
Mine is ID 06cb:009a Synaptics, Inc.

Just follow the steps to install python-validity from this github page:
https://github.com/uunicorn/python-validity

Currenty supports the following IDs:
138a:0090
138a:0097
06cb:009a

</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7881422778420642178/posts/default/2529024651215683582'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7881422778420642178/posts/default/2529024651215683582'/><link rel='alternate' type='text/html' href='http://thecyberdung.blogspot.com/2021/03/ubuntu-support-for-fingerprint-scanner.html' title='Ubuntu support for fingerprint scanner 138a:0090 138a:0097 and 06cb:009a'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7881422778420642178.post-4188265644196181988</id><published>2021-02-05T00:06:00.000-05:00</published><updated>2021-02-05T00:06:11.019-05:00</updated><title type='text'>Converting img to vdi</title><content type='html'>&lt;p&gt;Image needs to be aligned.&amp;nbsp; In Linux,&lt;/p&gt;&lt;pre style=&quot;background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); color: black; font-family: &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;&quot;&gt;       &lt;code style=&quot;color: black; overflow-wrap: normal; word-wrap: normal;&quot;&gt;
             dd if=original.img of=padded.img bs=100M conv=sync
       &lt;/code&gt;
 &lt;/pre&gt;
  


&lt;p&gt;&lt;/p&gt;&lt;p&gt;then convert with&lt;/p&gt;&lt;div&gt;&lt;div&gt;
  
    &lt;pre style=&quot;background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); color: black; font-family: &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;&quot;&gt;       &lt;code style=&quot;color: black; overflow-wrap: normal; word-wrap: normal;&quot;&gt;
             VBoxManage convertdd padded.img converted.vdi
       &lt;/code&gt;
 &lt;/pre&gt;
  
  
  
  &lt;/div&gt;&lt;/div&gt;&lt;div&gt;or&lt;/div&gt;&lt;div&gt;&lt;div&gt;
    
        &lt;pre style=&quot;background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); color: black; font-family: &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;&quot;&gt;       &lt;code style=&quot;color: black; overflow-wrap: normal; word-wrap: normal;&quot;&gt;
             VBoxManage convertfromraw --format VDI padded.img converted.vdi
       &lt;/code&gt;
 &lt;/pre&gt;
  
    
    
    
    &lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7881422778420642178/posts/default/4188265644196181988'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7881422778420642178/posts/default/4188265644196181988'/><link rel='alternate' type='text/html' href='http://thecyberdung.blogspot.com/2021/02/converting-img-to-vdi.html' title='Converting img to vdi'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7881422778420642178.post-5197519005763074768</id><published>2020-12-21T00:18:00.002-05:00</published><updated>2021-07-15T05:52:34.332-04:00</updated><title type='text'>Notes: Analyzing Delphi</title><content type='html'>&lt;div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJovmJpKcxTTAj3tNjzACJal870cvwcW62OgZhv9KRzShy7IDfeg2yglD3e27DL_y4OQBwyA9k89MJRz4xD5lNamxtB2Xhvwuge8TP9T8U0q0iGnPrdOBz2Kk-PiBRTLHVw1oQC5SqrDE/&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img data-original-height=&quot;190&quot; data-original-width=&quot;581&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJovmJpKcxTTAj3tNjzACJal870cvwcW62OgZhv9KRzShy7IDfeg2yglD3e27DL_y4OQBwyA9k89MJRz4xD5lNamxtB2Xhvwuge8TP9T8U0q0iGnPrdOBz2Kk-PiBRTLHVw1oQC5SqrDE/w507-h166/image.png&quot; width=&quot;507&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;style&gt;
table {
  font-family: arial, sans-serif;
  border-collapse: collapse;
  width: 100%;
  table-layout: fixed;
}
  
td, th {
  border: 1px solid #dddddd;
  text-align: left;
}


&lt;/style&gt;&lt;br /&gt;&lt;table style=&quot;width: 100%;&quot;&gt;
  &lt;colgroup&gt;
    &lt;col span=&quot;1&quot; style=&quot;width: 15%;&quot;&gt;&lt;/col&gt;
    &lt;col span=&quot;1&quot; style=&quot;width: 85%;&quot;&gt;&lt;/col&gt;
  &lt;/colgroup&gt;
  &lt;tbody&gt;&lt;tr&gt;
    &lt;th&gt;Function&lt;/th&gt;
    &lt;th&gt;Description&lt;/th&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;InitExe&lt;/td&gt;
    &lt;td&gt;Read resource drm in .rsrc, call StartExe to InitRoutineTable to read all functions (FunctionTable), and execute Routine.&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;CreateForm&lt;/td&gt;
    &lt;td&gt;Create the Form, initialize the main function of Delphi, the second parameter edx points to the pointer of the TCustomForm virtual function table, construct the main form of the program _cls_Forms_TCustomForm&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;Run&lt;/td&gt;
    &lt;td&gt;Generally, AddExitProc adds the form destructor to the exit function execution flow. The following is the HandleMessage message loop.&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;Halt0&lt;/td&gt;
    &lt;td&gt;When dwReasin is 0, call ExitProcess to end&lt;/td&gt;
  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;div&gt;Copy-Pasted from: https://www.programmersought.com/article/36625698711/&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Tools: IDR (https://github.com/crypto2011/IDR)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7881422778420642178/posts/default/5197519005763074768'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7881422778420642178/posts/default/5197519005763074768'/><link rel='alternate' type='text/html' href='http://thecyberdung.blogspot.com/2020/12/notes-analyzing-delphi.html' title='Notes: Analyzing Delphi'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJovmJpKcxTTAj3tNjzACJal870cvwcW62OgZhv9KRzShy7IDfeg2yglD3e27DL_y4OQBwyA9k89MJRz4xD5lNamxtB2Xhvwuge8TP9T8U0q0iGnPrdOBz2Kk-PiBRTLHVw1oQC5SqrDE/s72-w507-h166-c/image.png" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-7881422778420642178.post-3135865581764511216</id><published>2020-12-04T06:38:00.006-05:00</published><updated>2020-12-04T07:22:17.259-05:00</updated><title type='text'>How to run a service exe</title><content type='html'>&lt;pre style=&quot;background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); color: black; font-family: &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;&quot;&gt;       &lt;code style=&quot;color: black; overflow-wrap: normal; word-wrap: normal;&quot;&gt;
sc create servicename binpath= C:\servicefile.exe&lt;/code&gt;&lt;/pre&gt;&lt;pre style=&quot;background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); color: black; font-family: &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;&quot;&gt;&lt;code style=&quot;color: black; overflow-wrap: normal; word-wrap: normal;&quot;&gt;sc start servicename      &lt;/code&gt;
 &lt;/pre&gt;&lt;pre style=&quot;background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); color: black; font-family: &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAxH3gMfP-KYyDs-dOmoO4DFQp8WWsoQhGNLwfzrEPC9lpIoNu0I0ibnm39Opf1SHvoiy5BF4KgQ9f6iHUU0MGhuWSilSAoupMGgE2D0d6BAGdP10-2hdYWmEYog0xdUy65tzPbT9VRbA/&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;399&quot; data-original-width=&quot;680&quot; height=&quot;376&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAxH3gMfP-KYyDs-dOmoO4DFQp8WWsoQhGNLwfzrEPC9lpIoNu0I0ibnm39Opf1SHvoiy5BF4KgQ9f6iHUU0MGhuWSilSAoupMGgE2D0d6BAGdP10-2hdYWmEYog0xdUy65tzPbT9VRbA/w640-h376/image.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;


if debugging,  just add the either these bytes where you want to debug:

&lt;pre style=&quot;background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); color: black; font-family: &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;&quot;&gt;&lt;code style=&quot;color: black; overflow-wrap: normal; word-wrap: normal;&quot;&gt;EB FE                   jmp [self]
CC                      int 3
31 c0 83 f8 74 fb       xor eax, eax | cmp eax, 0 | jz [addrcmp]
&lt;/code&gt;&lt;/pre&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7881422778420642178/posts/default/3135865581764511216'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7881422778420642178/posts/default/3135865581764511216'/><link rel='alternate' type='text/html' href='http://thecyberdung.blogspot.com/2020/12/how-to-run-service-exe.html' title='How to run a service exe'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAxH3gMfP-KYyDs-dOmoO4DFQp8WWsoQhGNLwfzrEPC9lpIoNu0I0ibnm39Opf1SHvoiy5BF4KgQ9f6iHUU0MGhuWSilSAoupMGgE2D0d6BAGdP10-2hdYWmEYog0xdUy65tzPbT9VRbA/s72-w640-h376-c/image.png" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-7881422778420642178.post-8139035740149191805</id><published>2020-10-13T01:52:00.000-04:00</published><updated>2020-10-13T01:52:48.973-04:00</updated><title type='text'>enable features for old end-of-life office</title><content type='html'>
run
&lt;pre style=&quot;background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); color: black; font-family: &amp;quot;Andale Mono&amp;quot;, &amp;quot;Lucida Console&amp;quot;, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;&quot;&gt;&lt;code style=&quot;color: black; overflow-wrap: normal; word-wrap: normal;&quot;&gt;C:\Program Files\Common Files\microsoft shared\OfficeSoftwareProtectionPlatform\OSPPREARM.EXE&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7881422778420642178/posts/default/8139035740149191805'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7881422778420642178/posts/default/8139035740149191805'/><link rel='alternate' type='text/html' href='http://thecyberdung.blogspot.com/2020/10/enable-features-for-old-end-of-life.html' title='enable features for old end-of-life office'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7881422778420642178.post-7436822597760078564</id><published>2020-09-01T07:28:00.001-04:00</published><updated>2020-09-01T07:28:16.016-04:00</updated><title type='text'>How to pre-download symbols (PDB) before even debugging</title><content type='html'>In case you wanted to debug a program with Microsoft Windows modules from the system32 folder, try downloading the symbols using symchk.

Use the following command line as an example to get all library files from C:\Windows\System32 and store the PDBs in C:\symbols folder.&lt;pre style=&quot;background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); color: black; font-family: &amp;quot;andale mono&amp;quot;, &amp;quot;lucida console&amp;quot;, monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;&quot;&gt;       &lt;code style=&quot;color: black; overflow-wrap: normal;&quot;&gt;
symchk /r C:\Windows\System32\ /s srv*C:\symbols*http://msdl.microsoft.com/download/symbols
&lt;/code&gt;&lt;/pre&gt;

And the folder should look like this after:

&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;img alt=&quot;&quot; src=&quot;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPIAAAIHCAIAAAAqypZwAAAgAElEQVR4Ae2d/a9d1Xnnz0/5JVWn88P0x/ivIMqV+sNogkhnRDSKqowU7DiQcpgGQqJmOsWJSJV2QgoNXNVNMtEMUjUjphUQEuOaSYBJwptJDOYloWAbY8DmxQbnBmxj49o+wGi9PM961t5rn7PP3s9+Pd+rI+46az/rWWt912evu67v/nImT798Ei8oMDIFJn/0ma14QYGRKTA5P3sfLygwMgUmx0+ewwsKjEyByW9OncMLCoxMgcnGqXN4QYGRKQCscVePUIGmsd65dfKxbz6tIlw+1c6tk/B10Y37/Jbz9M0XpTvNZ4gG9viNH5tcsZP2rX3f/Cgl/+jNj4ufabdfMQl9iXpqGOVsq3LB1MQwykd2MhGdToeONd8zFvEAZVKduSv69M0XMb7mxphsvYuSPH3zN7lsON73zY9yvxTTMd9zpxaNrXxkT6ZWZRhVsD58dOP3fu9fiw1gTseKIuZTxTWGxStvj5YwM7A4Po58/MaP0R5s9unAdBzmZ33XlWJfz/Ti3y6jUjpDOYVd23lTi/OUj+xkIvWlMBkmF/mftA4IM+etV3xsMpePw0c3JpPJv/n934/1Sg4oJaLdC123gp7wQ99V3n4FnQH8HpxPlalhHLk+k5Pr81u72ICLbo+7rpzI7ZzLSe5PnVtGJTlOnoXV03dqR36X+RkysT9GzHnJftGtGAVQ5bmNhNQsguw0uXa+cpmJzMtTgha15hN/8L3rSquFWe8gytwFK0c2i8gjNl14mo3o7qe5kbigX87ABZlKHgYYCIrM7qmunsM4z7mNUzu38p0sTyNSAYm1jJcxouxoKKVSZpzi7e1XOK3sfehupLuunPAamTLvRxN/1wVVk1IXiSPViMpLTERMv02I8325e97+12yKNOe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Qb37tTQAHrxi26Zot2RPnPdjZyhe2asXMFf9GdoKceOhI4PknH7yiGfyLYChh7WZcBFRSwbsGi604K4bwQNlmu421bemxlpVuUUBNyZJcrxISP4OV+TDAHcEF2mk2H9+0roIB1GxZdQ9V0uubP0YGr+JDgt+sArMTOassVXAiSc5XZxFOp0v93kVxkyIhSVwooYN24RddoY1D1WPFb8+vbdLrmuDJQTqdr9l+iOdCRatu6C5JMX8NHbol1PlU49mR+Zcx12tVSot+ggALW/bDoMpRhblVLiqmqDgHt6imggHU/LLqKLCqmqrc4aF1VAQWs+2HRVWRRMVXVZUG7egroYF1vDGgNBZQVANbKgiJdHxQA1n1YBYxBWQFgrSwo0vVBAWDdh1XAGJQVUMAaFl3lNUG62grUxRoW3dpLgAT6CtTFGhZd/TVBxtoKaGINi27t5UACHQU0sO6tRTchUZ2/IHJbLiQ6QFUfFFDAuv8WXSF0HSK5LRdEYhT7pIAC1kOz6PoHpJdfBaaZC8vnQItWFFDAuguLrgUra8gVRjDyGwRjLf2PFMgGZk1jIYw8L7mc7klvOHNboVGtEwWsu7DoWijdthsMMiwK76b5a+6SqY+QNk2TOU2li7RmBLYskH8m3wOPAoXuFFDAuguLLoPrefSMWjKt68Xyl6DXNFwjN3kseyrnYgujuRtyd0icGO9aV0AB6w4susHMKLyxAWKCMdSwrgZ8w3WCRIk1taRMtj0HcEH0zj2g0AMFJk88fxwvKDAyBSbPv3oCLygwMgUmb7x1Fi8oMDIFJr89dQ4vKDAyBSYnTp/HCwqMTIHJyTMX8IICI1MAWOOuHqECwHqEizqyrbfCdIA1sB6hAsB6hItaYXsbWRNgDaxHqACwHuGijmzrrTAdYA2sR6gAsB7holbY3kbW5P8DTHUk9rZVtnEAAAAASUVORK5CYII=&quot; /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7881422778420642178/posts/default/7436822597760078564'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7881422778420642178/posts/default/7436822597760078564'/><link rel='alternate' type='text/html' href='http://thecyberdung.blogspot.com/2020/09/how-to-pre-download-symbols-pdb-before.html' title='How to pre-download symbols (PDB) before even debugging'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7881422778420642178.post-4142534107097805297</id><published>2020-08-07T11:08:00.001-04:00</published><updated>2020-08-07T11:08:10.999-04:00</updated><title type='text'>Themida packed DLL unpacking (generic to other DLL packed files)</title><content type='html'>
                
Do LoadLibrary, don&#39;t let it terminate, then use processdumper.&amp;nbsp;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;A.&lt;/b&gt; C source. Compile respectively if x86 or x64 DLL.&lt;pre style=&quot;background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); color: black; font-family: &amp;quot;andale mono&amp;quot;, &amp;quot;lucida console&amp;quot;, monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;&quot;&gt;&lt;code&gt;
// loadlib.c
#include &lt;stdio .h=&quot;&quot;&gt;
#include &lt;windows .h=&quot;&quot;&gt;

int main()
{
    MessageBox(0, &quot;loading and going to a loop.&quot;, 0, 0);
    if (0 == LoadLibraryA(&quot;C:\\programdata\\desktop.dat&quot;))
    {
        LoadLibraryA(&quot;C:\\programdata\\desktop.dat&quot;);
    }
    while (1)
    {}
    return 0;
}

&lt;/windows&gt;&lt;/stdio&gt;&lt;/code&gt;
&lt;/pre&gt;&lt;b&gt;

B.&lt;/b&gt; pd -pid parameter mem dumps and auto imprec
&lt;pre style=&quot;background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); color: black; font-family: &amp;quot;andale mono&amp;quot;, &amp;quot;lucida console&amp;quot;, monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 100%;&quot;&gt;&lt;code&gt;
  pd32 -pid &lt;pid&gt;
  pd64 -pid &lt;pid&gt;
&lt;/pid&gt;&lt;/pid&gt;&lt;/code&gt;
&lt;/pre&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7881422778420642178/posts/default/4142534107097805297'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7881422778420642178/posts/default/4142534107097805297'/><link rel='alternate' type='text/html' href='http://thecyberdung.blogspot.com/2020/08/themida-packed-dll-unpacking-generic-to.html' title='Themida packed DLL unpacking (generic to other DLL packed files)'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7881422778420642178.post-7047255608889920703</id><published>2020-07-07T06:37:00.002-04:00</published><updated>2020-07-07T06:37:24.400-04:00</updated><title type='text'>[Python] Read and Write to a binary file</title><content type='html'>&lt;br /&gt;
&lt;br /&gt;

&lt;pre style=&quot;font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace;
                color: #000000; background-color: #eee;
                font-size: 12px; border: 1px dashed #999999;
                line-height: 14px; padding: 5px;
                overflow: auto; width: 100%&quot;&gt;
       &lt;code style=&quot;color:#000000;word-wrap:normal;&quot;&gt;
             data = open(&#39;path/to/file&#39;, &#39;rb&#39;).read()
             open(&#39;path/to/file&#39;, &#39;wb&#39;).write(data)
       &lt;/code&gt;
 &lt;/pre&gt;

</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7881422778420642178/posts/default/7047255608889920703'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7881422778420642178/posts/default/7047255608889920703'/><link rel='alternate' type='text/html' href='http://thecyberdung.blogspot.com/2020/07/python-read-and-write-to-binary-file.html' title='[Python] Read and Write to a binary file'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7881422778420642178.post-1054763667516429427</id><published>2020-07-03T08:38:00.002-04:00</published><updated>2020-07-03T08:38:25.144-04:00</updated><title type='text'>Sudden change of keyboard language</title><content type='html'>Seldom happens but it happens, the keyboard language suddenly changes.&amp;nbsp; # becomes a pound sign or \ becomes =.&lt;br /&gt;
&lt;br /&gt;
Most likely this was because of pressing Alt-Shift.&amp;nbsp; The shortcut key for keyboard language change.&amp;nbsp; Press the key combo again and see what happens.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7881422778420642178/posts/default/1054763667516429427'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7881422778420642178/posts/default/1054763667516429427'/><link rel='alternate' type='text/html' href='http://thecyberdung.blogspot.com/2020/07/sudden-change-of-keyboard-language.html' title='Sudden change of keyboard language'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7881422778420642178.post-8337195162116021360</id><published>2020-05-25T03:47:00.001-04:00</published><updated>2020-05-25T03:47:27.385-04:00</updated><title type='text'>blogger post code snip</title><content type='html'>&amp;lt;pre style=&quot;font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; color: #000000; background-color: #eee;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; font-size: 12px; border: 1px dashed #999999;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; line-height: 14px; padding: 5px;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; overflow: auto; width: 100%&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;code style=&quot;color:#000000;word-wrap:normal;&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;your code here&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;lt;/pre&amp;gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7881422778420642178/posts/default/8337195162116021360'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7881422778420642178/posts/default/8337195162116021360'/><link rel='alternate' type='text/html' href='http://thecyberdung.blogspot.com/2020/05/blogger-post-code-snip.html' title='blogger post code snip'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7881422778420642178.post-3581529548426454339</id><published>2020-05-20T05:39:00.000-04:00</published><updated>2020-05-20T05:39:03.042-04:00</updated><title type='text'>python virtualenvironment (venv)</title><content type='html'>py3
&lt;pre class=&quot;brush: plain&quot;&gt;
python3 -m venv &lt;venvdir&gt;
source &lt;venvdir&gt;/bin/activate
&lt;/pre&gt;

py2
&lt;pre class=&quot;brush: plain&quot;&gt;
python2 -m venv &lt;venvdir&gt;
source &lt;venvdir&gt;/bin/activate
&lt;/pre&gt;
</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7881422778420642178/posts/default/3581529548426454339'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7881422778420642178/posts/default/3581529548426454339'/><link rel='alternate' type='text/html' href='http://thecyberdung.blogspot.com/2020/05/python-virtualenvironment-venv.html' title='python virtualenvironment (venv)'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7881422778420642178.post-8495322026299067893</id><published>2020-04-08T04:28:00.003-04:00</published><updated>2020-04-08T04:28:40.421-04:00</updated><title type='text'>Recover deleted files from git hard reset</title><content type='html'>&lt;pre style=&quot;border-radius: 3px; border: 0px; box-sizing: inherit; color: #242729; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-size: 13px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: 12px 8px; vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;border: 0px; box-sizing: inherit; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;&quot;&gt;git reflog
&lt;/code&gt;&lt;/pre&gt;
&lt;pre style=&quot;border-radius: 3px; border: 0px; box-sizing: inherit; color: #242729; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-size: 13px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: 12px 8px; vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;border: 0px; box-sizing: inherit; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;&quot;&gt;git reset --hard &amp;lt;commit-id-retrieved-using-reflog&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; border: 0px; box-sizing: inherit; clear: both; color: #242729; font-family: Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 15px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7881422778420642178/posts/default/8495322026299067893'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7881422778420642178/posts/default/8495322026299067893'/><link rel='alternate' type='text/html' href='http://thecyberdung.blogspot.com/2020/04/recover-deleted-files-from-git-hard.html' title='Recover deleted files from git hard reset'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7881422778420642178.post-862220219511872396</id><published>2020-03-18T11:14:00.002-04:00</published><updated>2020-03-18T11:14:37.757-04:00</updated><title type='text'>Debugging DLL, add these after decompile</title><content type='html'>&lt;pre class=&quot;lang-cs prettyprint prettyprinted&quot; style=&quot;border-radius: 3px; border: 0px; box-sizing: inherit; color: #242729; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-size: 13px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: 12px 8px; vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;border: 0px; box-sizing: inherit; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;&quot;&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; box-sizing: inherit; color: var(--blue-800); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;class&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: var(--black-750); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; program
&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: var(--black-750); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: var(--black-750); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
   &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; box-sizing: inherit; color: var(--blue-800); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;public&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: var(--black-750); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; box-sizing: inherit; color: var(--blue-800); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;static&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: var(--black-750); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;border: 0px; box-sizing: inherit; color: var(--blue-800); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;void&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: var(--black-750); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; box-sizing: inherit; color: #2b91af; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Main&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: var(--black-750); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;()&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: var(--black-750); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
   &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: var(--black-750); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;{ 
    // TODO:: add method call here
&lt;/span&gt;&lt;/code&gt;    &lt;span class=&quot;typ&quot; style=&quot;border: 0px; box-sizing: inherit; color: #2b91af; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;&quot;&gt;Console&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: var(--black-750); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;typ&quot; style=&quot;border: 0px; box-sizing: inherit; color: #2b91af; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;&quot;&gt;WriteLine&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: var(--black-750); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;str&quot; style=&quot;border: 0px; box-sizing: inherit; color: var(--red-800); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;&quot;&gt;&quot;I am from program.cs&quot;&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: var(--black-750); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;&quot;&gt;);
&lt;/span&gt;   &lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: var(--black-750); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;&quot;&gt;}
&lt;/span&gt;}&lt;/pre&gt;
&lt;div&gt;
&lt;code style=&quot;border: 0px; box-sizing: inherit; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;&quot;&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: var(--black-750); font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7881422778420642178/posts/default/862220219511872396'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7881422778420642178/posts/default/862220219511872396'/><link rel='alternate' type='text/html' href='http://thecyberdung.blogspot.com/2020/03/debugging-dll-add-these-after-decompile.html' title='Debugging DLL, add these after decompile'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7881422778420642178.post-5867354653927860494</id><published>2020-02-27T09:36:00.000-05:00</published><updated>2020-02-27T09:38:37.216-05:00</updated><title type='text'>64-bit _TEB and _PEB example</title><content type='html'>&lt;pre class=&quot;brush: plain&quot;&gt;ntdll!_TEB
   +0x000 NtTib            : _NT_TIB
   +0x038 EnvironmentPointer : Ptr64 Void
   +0x040 ClientId         : _CLIENT_ID
   +0x050 ActiveRpcHandle  : Ptr64 Void
   +0x058 ThreadLocalStoragePointer : Ptr64 Void
   +0x060 ProcessEnvironmentBlock : Ptr64 _PEB
   +0x068 LastErrorValue   : Uint4B
   +0x06c CountOfOwnedCriticalSections : Uint4B
   +0x070 CsrClientThread  : Ptr64 Void
   +0x078 Win32ThreadInfo  : Ptr64 Void
   +0x080 User32Reserved   : [26] Uint4B
   +0x0e8 UserReserved     : [5] Uint4B
   +0x100 WOW32Reserved    : Ptr64 Void
   +0x108 CurrentLocale    : Uint4B
   +0x10c FpSoftwareStatusRegister : Uint4B
   +0x110 ReservedForDebuggerInstrumentation : [16] Ptr64 Void
   +0x190 SystemReserved1  : [38] Ptr64 Void
   +0x2c0 ExceptionCode    : Int4B
   +0x2c4 Padding0         : [4] UChar
   +0x2c8 ActivationContextStackPointer : Ptr64 _ACTIVATION_CONTEXT_STACK
   +0x2d0 InstrumentationCallbackSp : Uint8B
   +0x2d8 InstrumentationCallbackPreviousPc : Uint8B
   +0x2e0 InstrumentationCallbackPreviousSp : Uint8B
   +0x2e8 TxFsContext      : Uint4B
   +0x2ec InstrumentationCallbackDisabled : UChar
   +0x2ed Padding1         : [3] UChar
   +0x2f0 GdiTebBatch      : _GDI_TEB_BATCH
   +0x7d8 RealClientId     : _CLIENT_ID
   +0x7e8 GdiCachedProcessHandle : Ptr64 Void
   +0x7f0 GdiClientPID     : Uint4B
   +0x7f4 GdiClientTID     : Uint4B
   +0x7f8 GdiThreadLocalInfo : Ptr64 Void
   +0x800 Win32ClientInfo  : [62] Uint8B
   +0x9f0 glDispatchTable  : [233] Ptr64 Void
   +0x1138 glReserved1      : [29] Uint8B
   +0x1220 glReserved2      : Ptr64 Void
   +0x1228 glSectionInfo    : Ptr64 Void
   +0x1230 glSection        : Ptr64 Void
   +0x1238 glTable          : Ptr64 Void
   +0x1240 glCurrentRC      : Ptr64 Void
   +0x1248 glContext        : Ptr64 Void
   +0x1250 LastStatusValue  : Uint4B
   +0x1254 Padding2         : [4] UChar
   +0x1258 StaticUnicodeString : _UNICODE_STRING
   +0x1268 StaticUnicodeBuffer : [261] Wchar
   +0x1472 Padding3         : [6] UChar
   +0x1478 DeallocationStack : Ptr64 Void
   +0x1480 TlsSlots         : [64] Ptr64 Void
   +0x1680 TlsLinks         : _LIST_ENTRY
   +0x1690 Vdm              : Ptr64 Void
   +0x1698 ReservedForNtRpc : Ptr64 Void
   +0x16a0 DbgSsReserved    : [2] Ptr64 Void
   +0x16b0 HardErrorMode    : Uint4B
   +0x16b4 Padding4         : [4] UChar
   +0x16b8 Instrumentation  : [11] Ptr64 Void
   +0x1710 ActivityId       : _GUID
   +0x1720 SubProcessTag    : Ptr64 Void
   +0x1728 PerflibData      : Ptr64 Void
   +0x1730 EtwTraceData     : Ptr64 Void
   +0x1738 WinSockData      : Ptr64 Void
   +0x1740 GdiBatchCount    : Uint4B
   +0x1744 CurrentIdealProcessor : _PROCESSOR_NUMBER
   +0x1744 IdealProcessorValue : Uint4B
   +0x1744 ReservedPad0     : UChar
   +0x1745 ReservedPad1     : UChar
   +0x1746 ReservedPad2     : UChar
   +0x1747 IdealProcessor   : UChar
   +0x1748 GuaranteedStackBytes : Uint4B
   +0x174c Padding5         : [4] UChar
   +0x1750 ReservedForPerf  : Ptr64 Void
   +0x1758 ReservedForOle   : Ptr64 Void
   +0x1760 WaitingOnLoaderLock : Uint4B
   +0x1764 Padding6         : [4] UChar
   +0x1768 SavedPriorityState : Ptr64 Void
   +0x1770 ReservedForCodeCoverage : Uint8B
   +0x1778 ThreadPoolData   : Ptr64 Void
   +0x1780 TlsExpansionSlots : Ptr64 Ptr64 Void
   +0x1788 DeallocationBStore : Ptr64 Void
   +0x1790 BStoreLimit      : Ptr64 Void
   +0x1798 MuiGeneration    : Uint4B
   +0x179c IsImpersonating  : Uint4B
   +0x17a0 NlsCache         : Ptr64 Void
   +0x17a8 pShimData        : Ptr64 Void
   +0x17b0 HeapVirtualAffinity : Uint2B
   +0x17b2 LowFragHeapDataSlot : Uint2B
   +0x17b4 Padding7         : [4] UChar
   +0x17b8 CurrentTransactionHandle : Ptr64 Void
   +0x17c0 ActiveFrame      : Ptr64 _TEB_ACTIVE_FRAME
   +0x17c8 FlsData          : Ptr64 Void
   +0x17d0 PreferredLanguages : Ptr64 Void
   +0x17d8 UserPrefLanguages : Ptr64 Void
   +0x17e0 MergedPrefLanguages : Ptr64 Void
   +0x17e8 MuiImpersonation : Uint4B
   +0x17ec CrossTebFlags    : Uint2B
   +0x17ec SpareCrossTebBits : Pos 0, 16 Bits
   +0x17ee SameTebFlags     : Uint2B
   +0x17ee SafeThunkCall    : Pos 0, 1 Bit
   +0x17ee InDebugPrint     : Pos 1, 1 Bit
   +0x17ee HasFiberData     : Pos 2, 1 Bit
   +0x17ee SkipThreadAttach : Pos 3, 1 Bit
   +0x17ee WerInShipAssertCode : Pos 4, 1 Bit
   +0x17ee RanProcessInit   : Pos 5, 1 Bit
   +0x17ee ClonedThread     : Pos 6, 1 Bit
   +0x17ee SuppressDebugMsg : Pos 7, 1 Bit
   +0x17ee DisableUserStackWalk : Pos 8, 1 Bit
   +0x17ee RtlExceptionAttached : Pos 9, 1 Bit
   +0x17ee InitialThread    : Pos 10, 1 Bit
   +0x17ee SessionAware     : Pos 11, 1 Bit
   +0x17ee LoadOwner        : Pos 12, 1 Bit
   +0x17ee LoaderWorker     : Pos 13, 1 Bit
   +0x17ee SpareSameTebBits : Pos 14, 2 Bits
   +0x17f0 TxnScopeEnterCallback : Ptr64 Void
   +0x17f8 TxnScopeExitCallback : Ptr64 Void
   +0x1800 TxnScopeContext  : Ptr64 Void
   +0x1808 LockCount        : Uint4B
   +0x180c WowTebOffset     : Int4B
   +0x1810 ResourceRetValue : Ptr64 Void
   +0x1818 ReservedForWdf   : Ptr64 Void
   +0x1820 ReservedForCrt   : Uint8B
   +0x1828 EffectiveContainerId : _GUID
&lt;/pre&gt;
&lt;pre class=&quot;brush: plain&quot;&gt;ntdll!_PEB
   +0x000 InheritedAddressSpace : UChar
   +0x001 ReadImageFileExecOptions : UChar
   +0x002 BeingDebugged    : UChar
   +0x003 BitField         : UChar
   +0x003 ImageUsesLargePages : Pos 0, 1 Bit
   +0x003 IsProtectedProcess : Pos 1, 1 Bit
   +0x003 IsImageDynamicallyRelocated : Pos 2, 1 Bit
   +0x003 SkipPatchingUser32Forwarders : Pos 3, 1 Bit
   +0x003 IsPackagedProcess : Pos 4, 1 Bit
   +0x003 IsAppContainer   : Pos 5, 1 Bit
   +0x003 IsProtectedProcessLight : Pos 6, 1 Bit
   +0x003 SpareBits        : Pos 7, 1 Bit
   +0x004 Padding0         : [4] UChar
   +0x008 Mutant           : Ptr64 Void
   +0x010 ImageBaseAddress : Ptr64 Void
   +0x018 Ldr              : Ptr64 _PEB_LDR_DATA
   +0x020 ProcessParameters : Ptr64 _RTL_USER_PROCESS_PARAMETERS
   +0x028 SubSystemData    : Ptr64 Void
   +0x030 ProcessHeap      : Ptr64 Void
   +0x038 FastPebLock      : Ptr64 _RTL_CRITICAL_SECTION
   +0x040 AtlThunkSListPtr : Ptr64 Void
   +0x048 IFEOKey          : Ptr64 Void
   +0x050 CrossProcessFlags : Uint4B
   +0x050 ProcessInJob     : Pos 0, 1 Bit
   +0x050 ProcessInitializing : Pos 1, 1 Bit
   +0x050 ProcessUsingVEH  : Pos 2, 1 Bit
   +0x050 ProcessUsingVCH  : Pos 3, 1 Bit
   +0x050 ProcessUsingFTH  : Pos 4, 1 Bit
   +0x050 ReservedBits0    : Pos 5, 27 Bits
   +0x054 Padding1         : [4] UChar
   +0x058 KernelCallbackTable : Ptr64 Void
   +0x058 UserSharedInfoPtr : Ptr64 Void
   +0x060 SystemReserved   : [1] Uint4B
   +0x064 AtlThunkSListPtr32 : Uint4B
   +0x068 ApiSetMap        : Ptr64 Void
   +0x070 TlsExpansionCounter : Uint4B
   +0x074 Padding2         : [4] UChar
   +0x078 TlsBitmap        : Ptr64 Void
   +0x080 TlsBitmapBits    : [2] Uint4B
   +0x088 ReadOnlySharedMemoryBase : Ptr64 Void
   +0x090 SparePvoid0      : Ptr64 Void
   +0x098 ReadOnlyStaticServerData : Ptr64 Ptr64 Void
   +0x0a0 AnsiCodePageData : Ptr64 Void
   +0x0a8 OemCodePageData  : Ptr64 Void
   +0x0b0 UnicodeCaseTableData : Ptr64 Void
   +0x0b8 NumberOfProcessors : Uint4B
   +0x0bc NtGlobalFlag     : Uint4B
   +0x0c0 CriticalSectionTimeout : _LARGE_INTEGER
   +0x0c8 HeapSegmentReserve : Uint8B
   +0x0d0 HeapSegmentCommit : Uint8B
   +0x0d8 HeapDeCommitTotalFreeThreshold : Uint8B
   +0x0e0 HeapDeCommitFreeBlockThreshold : Uint8B
   +0x0e8 NumberOfHeaps    : Uint4B
   +0x0ec MaximumNumberOfHeaps : Uint4B
   +0x0f0 ProcessHeaps     : Ptr64 Ptr64 Void
   +0x0f8 GdiSharedHandleTable : Ptr64 Void
   +0x100 ProcessStarterHelper : Ptr64 Void
   +0x108 GdiDCAttributeList : Uint4B
   +0x10c Padding3         : [4] UChar
   +0x110 LoaderLock       : Ptr64 _RTL_CRITICAL_SECTION
   +0x118 OSMajorVersion   : Uint4B
   +0x11c OSMinorVersion   : Uint4B
   +0x120 OSBuildNumber    : Uint2B
   +0x122 OSCSDVersion     : Uint2B
   +0x124 OSPlatformId     : Uint4B
   +0x128 ImageSubsystem   : Uint4B
   +0x12c ImageSubsystemMajorVersion : Uint4B
   +0x130 ImageSubsystemMinorVersion : Uint4B
   +0x134 Padding4         : [4] UChar
   +0x138 ActiveProcessAffinityMask : Uint8B
   +0x140 GdiHandleBuffer  : [60] Uint4B
   +0x230 PostProcessInitRoutine : Ptr64     void 
   +0x238 TlsExpansionBitmap : Ptr64 Void
   +0x240 TlsExpansionBitmapBits : [32] Uint4B
   +0x2c0 SessionId        : Uint4B
   +0x2c4 Padding5         : [4] UChar
   +0x2c8 AppCompatFlags   : _ULARGE_INTEGER
   +0x2d0 AppCompatFlagsUser : _ULARGE_INTEGER
   +0x2d8 pShimData        : Ptr64 Void
   +0x2e0 AppCompatInfo    : Ptr64 Void
   +0x2e8 CSDVersion       : _UNICODE_STRING
   +0x2f8 ActivationContextData : Ptr64 _ACTIVATION_CONTEXT_DATA
   +0x300 ProcessAssemblyStorageMap : Ptr64 _ASSEMBLY_STORAGE_MAP
   +0x308 SystemDefaultActivationContextData : Ptr64 _ACTIVATION_CONTEXT_DATA
   +0x310 SystemAssemblyStorageMap : Ptr64 _ASSEMBLY_STORAGE_MAP
   +0x318 MinimumStackCommit : Uint8B
   +0x320 FlsCallback      : Ptr64 _FLS_CALLBACK_INFO
   +0x328 FlsListHead      : _LIST_ENTRY
   +0x338 FlsBitmap        : Ptr64 Void
   +0x340 FlsBitmapBits    : [4] Uint4B
   +0x350 FlsHighIndex     : Uint4B
   +0x358 WerRegistrationData : Ptr64 Void
   +0x360 WerShipAssertPtr : Ptr64 Void
   +0x368 pUnused          : Ptr64 Void
   +0x370 pImageHeaderHash : Ptr64 Void
   +0x378 TracingFlags     : Uint4B
   +0x378 HeapTracingEnabled : Pos 0, 1 Bit
   +0x378 CritSecTracingEnabled : Pos 1, 1 Bit
   +0x378 LibLoaderTracingEnabled : Pos 2, 1 Bit
   +0x378 SpareTracingBits : Pos 3, 29 Bits
   +0x37c Padding6         : [4] UChar
   +0x380 CsrServerReadOnlySharedMemoryBase : Uint8B
&lt;/pre&gt;
</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7881422778420642178/posts/default/5867354653927860494'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7881422778420642178/posts/default/5867354653927860494'/><link rel='alternate' type='text/html' href='http://thecyberdung.blogspot.com/2020/02/64-bit-teb-and-peb-example.html' title='64-bit _TEB and _PEB example'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7881422778420642178.post-216670762138954819</id><published>2019-11-06T22:47:00.001-05:00</published><updated>2019-11-06T22:47:46.182-05:00</updated><title type='text'>PEHeader structs</title><content type='html'>&lt;pre class=&quot;de1&quot; style=&quot;background: none rgb(249, 249, 249); border: 0px none white; font-size: 12.8px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: 1.2em; padding: 0px; vertical-align: top;&quot;&gt;&lt;span class=&quot;kw4&quot; style=&quot;color: #993333;&quot;&gt;struct&lt;/span&gt; PeHeader &lt;span class=&quot;br0&quot; style=&quot;color: #009900;&quot;&gt;{&lt;/span&gt;
 &lt;span class=&quot;kw4&quot; style=&quot;color: #993333;&quot;&gt;uint32_t&lt;/span&gt; mMagic&lt;span class=&quot;sy0&quot; style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt; &lt;span class=&quot;co1&quot; style=&quot;color: #666666; font-style: italic;&quot;&gt;// PE\0\0 or 0x00004550&lt;/span&gt;
 &lt;span class=&quot;kw4&quot; style=&quot;color: #993333;&quot;&gt;uint16_t&lt;/span&gt; mMachine&lt;span class=&quot;sy0&quot; style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
 &lt;span class=&quot;kw4&quot; style=&quot;color: #993333;&quot;&gt;uint16_t&lt;/span&gt; mNumberOfSections&lt;span class=&quot;sy0&quot; style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
 &lt;span class=&quot;kw4&quot; style=&quot;color: #993333;&quot;&gt;uint32_t&lt;/span&gt; mTimeDateStamp&lt;span class=&quot;sy0&quot; style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
 &lt;span class=&quot;kw4&quot; style=&quot;color: #993333;&quot;&gt;uint32_t&lt;/span&gt; mPointerToSymbolTable&lt;span class=&quot;sy0&quot; style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
 &lt;span class=&quot;kw4&quot; style=&quot;color: #993333;&quot;&gt;uint32_t&lt;/span&gt; mNumberOfSymbols&lt;span class=&quot;sy0&quot; style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
 &lt;span class=&quot;kw4&quot; style=&quot;color: #993333;&quot;&gt;uint16_t&lt;/span&gt; mSizeOfOptionalHeader&lt;span class=&quot;sy0&quot; style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
 &lt;span class=&quot;kw4&quot; style=&quot;color: #993333;&quot;&gt;uint16_t&lt;/span&gt; mCharacteristics&lt;span class=&quot;sy0&quot; style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot; style=&quot;color: #009900;&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;sy0&quot; style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;de1&quot; style=&quot;background: none rgb(249, 249, 249); border: 0px none white; font-size: 12.8px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: 1.2em; padding: 0px; vertical-align: top;&quot;&gt;&lt;pre class=&quot;de1&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: none; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px none white; font-size: 12.8px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: 1.2em; padding: 0px; vertical-align: top;&quot;&gt;&lt;span class=&quot;kw4&quot; style=&quot;color: #993333;&quot;&gt;struct&lt;/span&gt; Pe32OptionalHeader &lt;span class=&quot;br0&quot; style=&quot;color: #009900;&quot;&gt;{&lt;/span&gt;
 &lt;span class=&quot;kw4&quot; style=&quot;color: #993333;&quot;&gt;uint16_t&lt;/span&gt; mMagic&lt;span class=&quot;sy0&quot; style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt; &lt;span class=&quot;co1&quot; style=&quot;color: #666666; font-style: italic;&quot;&gt;// 0x010b - PE32, 0x020b - PE32+ (64 bit)&lt;/span&gt;
 &lt;span class=&quot;kw4&quot; style=&quot;color: #993333;&quot;&gt;uint8_t&lt;/span&gt;  mMajorLinkerVersion&lt;span class=&quot;sy0&quot; style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
 &lt;span class=&quot;kw4&quot; style=&quot;color: #993333;&quot;&gt;uint8_t&lt;/span&gt;  mMinorLinkerVersion&lt;span class=&quot;sy0&quot; style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
 &lt;span class=&quot;kw4&quot; style=&quot;color: #993333;&quot;&gt;uint32_t&lt;/span&gt; mSizeOfCode&lt;span class=&quot;sy0&quot; style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
 &lt;span class=&quot;kw4&quot; style=&quot;color: #993333;&quot;&gt;uint32_t&lt;/span&gt; mSizeOfInitializedData&lt;span class=&quot;sy0&quot; style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
 &lt;span class=&quot;kw4&quot; style=&quot;color: #993333;&quot;&gt;uint32_t&lt;/span&gt; mSizeOfUninitializedData&lt;span class=&quot;sy0&quot; style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
 &lt;span class=&quot;kw4&quot; style=&quot;color: #993333;&quot;&gt;uint32_t&lt;/span&gt; mAddressOfEntryPoint&lt;span class=&quot;sy0&quot; style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
 &lt;span class=&quot;kw4&quot; style=&quot;color: #993333;&quot;&gt;uint32_t&lt;/span&gt; mBaseOfCode&lt;span class=&quot;sy0&quot; style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
 &lt;span class=&quot;kw4&quot; style=&quot;color: #993333;&quot;&gt;uint32_t&lt;/span&gt; mBaseOfData&lt;span class=&quot;sy0&quot; style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
 &lt;span class=&quot;kw4&quot; style=&quot;color: #993333;&quot;&gt;uint32_t&lt;/span&gt; mImageBase&lt;span class=&quot;sy0&quot; style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
 &lt;span class=&quot;kw4&quot; style=&quot;color: #993333;&quot;&gt;uint32_t&lt;/span&gt; mSectionAlignment&lt;span class=&quot;sy0&quot; style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
 &lt;span class=&quot;kw4&quot; style=&quot;color: #993333;&quot;&gt;uint32_t&lt;/span&gt; mFileAlignment&lt;span class=&quot;sy0&quot; style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
 &lt;span class=&quot;kw4&quot; style=&quot;color: #993333;&quot;&gt;uint16_t&lt;/span&gt; mMajorOperatingSystemVersion&lt;span class=&quot;sy0&quot; style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
 &lt;span class=&quot;kw4&quot; style=&quot;color: #993333;&quot;&gt;uint16_t&lt;/span&gt; mMinorOperatingSystemVersion&lt;span class=&quot;sy0&quot; style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
 &lt;span class=&quot;kw4&quot; style=&quot;color: #993333;&quot;&gt;uint16_t&lt;/span&gt; mMajorImageVersion&lt;span class=&quot;sy0&quot; style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
 &lt;span class=&quot;kw4&quot; style=&quot;color: #993333;&quot;&gt;uint16_t&lt;/span&gt; mMinorImageVersion&lt;span class=&quot;sy0&quot; style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
 &lt;span class=&quot;kw4&quot; style=&quot;color: #993333;&quot;&gt;uint16_t&lt;/span&gt; mMajorSubsystemVersion&lt;span class=&quot;sy0&quot; style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
 &lt;span class=&quot;kw4&quot; style=&quot;color: #993333;&quot;&gt;uint16_t&lt;/span&gt; mMinorSubsystemVersion&lt;span class=&quot;sy0&quot; style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
 &lt;span class=&quot;kw4&quot; style=&quot;color: #993333;&quot;&gt;uint32_t&lt;/span&gt; mWin32VersionValue&lt;span class=&quot;sy0&quot; style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
 &lt;span class=&quot;kw4&quot; style=&quot;color: #993333;&quot;&gt;uint32_t&lt;/span&gt; mSizeOfImage&lt;span class=&quot;sy0&quot; style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
 &lt;span class=&quot;kw4&quot; style=&quot;color: #993333;&quot;&gt;uint32_t&lt;/span&gt; mSizeOfHeaders&lt;span class=&quot;sy0&quot; style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
 &lt;span class=&quot;kw4&quot; style=&quot;color: #993333;&quot;&gt;uint32_t&lt;/span&gt; mCheckSum&lt;span class=&quot;sy0&quot; style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
 &lt;span class=&quot;kw4&quot; style=&quot;color: #993333;&quot;&gt;uint16_t&lt;/span&gt; mSubsystem&lt;span class=&quot;sy0&quot; style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
 &lt;span class=&quot;kw4&quot; style=&quot;color: #993333;&quot;&gt;uint16_t&lt;/span&gt; mDllCharacteristics&lt;span class=&quot;sy0&quot; style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
 &lt;span class=&quot;kw4&quot; style=&quot;color: #993333;&quot;&gt;uint32_t&lt;/span&gt; mSizeOfStackReserve&lt;span class=&quot;sy0&quot; style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
 &lt;span class=&quot;kw4&quot; style=&quot;color: #993333;&quot;&gt;uint32_t&lt;/span&gt; mSizeOfStackCommit&lt;span class=&quot;sy0&quot; style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
 &lt;span class=&quot;kw4&quot; style=&quot;color: #993333;&quot;&gt;uint32_t&lt;/span&gt; mSizeOfHeapReserve&lt;span class=&quot;sy0&quot; style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
 &lt;span class=&quot;kw4&quot; style=&quot;color: #993333;&quot;&gt;uint32_t&lt;/span&gt; mSizeOfHeapCommit&lt;span class=&quot;sy0&quot; style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
 &lt;span class=&quot;kw4&quot; style=&quot;color: #993333;&quot;&gt;uint32_t&lt;/span&gt; mLoaderFlags&lt;span class=&quot;sy0&quot; style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
 &lt;span class=&quot;kw4&quot; style=&quot;color: #993333;&quot;&gt;uint32_t&lt;/span&gt; mNumberOfRvaAndSizes&lt;span class=&quot;sy0&quot; style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot; style=&quot;color: #009900;&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;sy0&quot; style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;de1&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: none; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px none white; font-size: 12.8px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: 1.2em; padding: 0px; vertical-align: top;&quot;&gt;&lt;span class=&quot;kw4&quot; style=&quot;color: #993333;&quot;&gt;struct&lt;/span&gt; IMAGE_SECTION_HEADER &lt;span class=&quot;br0&quot; style=&quot;color: #009900;&quot;&gt;{&lt;/span&gt; &lt;span class=&quot;co1&quot; style=&quot;color: #666666; font-style: italic;&quot;&gt;// size 40 bytes&lt;/span&gt;
 &lt;span class=&quot;kw4&quot; style=&quot;color: #993333;&quot;&gt;char&lt;/span&gt;&lt;span class=&quot;br0&quot; style=&quot;color: #009900;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;nu0&quot; style=&quot;color: #0000dd;&quot;&gt;8&lt;/span&gt;&lt;span class=&quot;br0&quot; style=&quot;color: #009900;&quot;&gt;]&lt;/span&gt;  mName&lt;span class=&quot;sy0&quot; style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
 &lt;span class=&quot;kw4&quot; style=&quot;color: #993333;&quot;&gt;uint32_t&lt;/span&gt; mVirtualSize&lt;span class=&quot;sy0&quot; style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
 &lt;span class=&quot;kw4&quot; style=&quot;color: #993333;&quot;&gt;uint32_t&lt;/span&gt; mVirtualAddress&lt;span class=&quot;sy0&quot; style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
 &lt;span class=&quot;kw4&quot; style=&quot;color: #993333;&quot;&gt;uint32_t&lt;/span&gt; mSizeOfRawData&lt;span class=&quot;sy0&quot; style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
 &lt;span class=&quot;kw4&quot; style=&quot;color: #993333;&quot;&gt;uint32_t&lt;/span&gt; mPointerToRawData&lt;span class=&quot;sy0&quot; style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
 &lt;span class=&quot;kw4&quot; style=&quot;color: #993333;&quot;&gt;uint32_t&lt;/span&gt; mPointerToRealocations&lt;span class=&quot;sy0&quot; style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
 &lt;span class=&quot;kw4&quot; style=&quot;color: #993333;&quot;&gt;uint32_t&lt;/span&gt; mPointerToLinenumbers&lt;span class=&quot;sy0&quot; style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
 &lt;span class=&quot;kw4&quot; style=&quot;color: #993333;&quot;&gt;uint16_t&lt;/span&gt; mNumberOfRealocations&lt;span class=&quot;sy0&quot; style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
 &lt;span class=&quot;kw4&quot; style=&quot;color: #993333;&quot;&gt;uint16_t&lt;/span&gt; mNumberOfLinenumbers&lt;span class=&quot;sy0&quot; style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
 &lt;span class=&quot;kw4&quot; style=&quot;color: #993333;&quot;&gt;uint32_t&lt;/span&gt; mCharacteristics&lt;span class=&quot;sy0&quot; style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;br0&quot; style=&quot;color: #009900;&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;sy0&quot; style=&quot;color: #339933;&quot;&gt;;&lt;/span&gt;&lt;/pre&gt;
&lt;/pre&gt;
</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7881422778420642178/posts/default/216670762138954819'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7881422778420642178/posts/default/216670762138954819'/><link rel='alternate' type='text/html' href='http://thecyberdung.blogspot.com/2019/11/peheader-structs.html' title='PEHeader structs'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7881422778420642178.post-37494969219507310</id><published>2019-10-27T02:54:00.003-04:00</published><updated>2020-01-10T14:32:59.785-05:00</updated><title type='text'>IDA Pro IDC - Memory Dump</title><content type='html'>&lt;pre class=&quot;brush: plain&quot;&gt;
auto address    = 0x0E2FFE0;
auto size       = 0x0005600;
auto fname      = &quot;memdump_&quot;+ltoa(address, 16)+&quot;.bin&quot;;

auto f = fopen(fname, &quot;wb&quot;);
savefile(f, 0, address, size);
fclose(f);

&lt;/pre&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7881422778420642178/posts/default/37494969219507310'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7881422778420642178/posts/default/37494969219507310'/><link rel='alternate' type='text/html' href='http://thecyberdung.blogspot.com/2019/10/auto-address-0x0400000-auto-size.html' title='IDA Pro IDC - Memory Dump'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7881422778420642178.post-6509148597775757796</id><published>2019-08-09T13:39:00.000-04:00</published><updated>2019-08-09T13:39:03.349-04:00</updated><title type='text'>C pragma tips</title><content type='html'>to add lib files&lt;br /&gt;
#pragma comment(lib, &quot;thirdPartyLibV2.0.lib&quot;)&lt;br /&gt;
&lt;br /&gt;
to suppress warnings&lt;br /&gt;
#pragma warning(disable:4996)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7881422778420642178/posts/default/6509148597775757796'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7881422778420642178/posts/default/6509148597775757796'/><link rel='alternate' type='text/html' href='http://thecyberdung.blogspot.com/2019/08/c-pragma-tips.html' title='C pragma tips'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7881422778420642178.post-7420163215520480071</id><published>2019-08-09T12:56:00.004-04:00</published><updated>2019-08-09T12:56:40.865-04:00</updated><title type='text'>Compile C using gcc for Windows in Ubuntu</title><content type='html'>&lt;div class=&quot;post-text&quot; itemprop=&quot;text&quot; style=&quot;border: 0px; box-sizing: inherit; font-family: Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-size: 15px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 1.3; margin: 0px 0px 5px; overflow-wrap: break-word; padding: 0px; vertical-align: baseline; width: 672px;&quot;&gt;
&lt;div style=&quot;border: 0px; box-sizing: inherit; clear: both; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
1.&amp;nbsp;&lt;span style=&quot;font-family: inherit; font-style: inherit; font-variant-caps: inherit; font-variant-ligatures: inherit; font-weight: inherit;&quot;&gt;Install mingw cross-compiler:&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;pre class=&quot;default prettyprint prettyprinted&quot; style=&quot;background-color: #eff0f1; border-radius: 3px; border: 0px; box-sizing: inherit; color: #393318; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-size: 13px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin-bottom: 1em; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: 12px 8px; vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;border: 0px; box-sizing: inherit; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;&quot;&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;apt&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; install mingw&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;w64&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;border: 0px; box-sizing: inherit; clear: both; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
2.a. Compile for 32-bit executable:&lt;/div&gt;
&lt;pre class=&quot;default prettyprint prettyprinted&quot; style=&quot;background-color: #eff0f1; border-radius: 3px; border: 0px; box-sizing: inherit; color: #393318; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-size: 13px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin-bottom: 1em; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: 12px 8px; vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;border: 0px; box-sizing: inherit; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;&quot;&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;i686&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;w64&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;mingw32&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;gcc &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;o main32&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;exe main&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;c&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;border: 0px; box-sizing: inherit; clear: both; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin-bottom: 1em; padding: 0px; vertical-align: baseline;&quot;&gt;
2.b. Compile for 64-bit executable:&lt;/div&gt;
&lt;pre class=&quot;default prettyprint prettyprinted&quot; style=&quot;background-color: #eff0f1; border-radius: 3px; border: 0px; box-sizing: inherit; color: #393318; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-size: 13px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin-bottom: 1em; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: 12px 8px; vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;border: 0px; box-sizing: inherit; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, sans-serif; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;&quot;&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;x86_64&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;w64&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;mingw32&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;gcc &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;o main64&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;exe main&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;c&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div class=&quot;grid mb0 fw-wrap ai-start jc-end gs8 gsy&quot; style=&quot;align-items: flex-start !important; border: 0px; box-sizing: inherit; display: flex; flex-wrap: wrap !important; font-family: inherit; font-size: 13px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; justify-content: flex-end !important; line-height: inherit; margin-bottom: 0px !important; margin-left: 0px; margin-right: 0px; margin-top: -4px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;time datetime=&quot;2016-08-05T11:52:37&quot; itemprop=&quot;dateCreated&quot; style=&quot;background-color: white; border: 0px; box-sizing: inherit; color: #242729; font-family: Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;/time&gt;&lt;div class=&quot;grid--cell mr16&quot; style=&quot;background-color: white; border: 0px; box-sizing: inherit; color: #242729; flex: 1 1 100px; font-family: Arial, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, sans-serif; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 4px 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7881422778420642178/posts/default/7420163215520480071'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7881422778420642178/posts/default/7420163215520480071'/><link rel='alternate' type='text/html' href='http://thecyberdung.blogspot.com/2019/08/compile-c-using-gcc-for-windows-in.html' title='Compile C using gcc for Windows in Ubuntu'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7881422778420642178.post-8869110988873021528</id><published>2018-11-20T02:56:00.000-05:00</published><updated>2018-12-28T22:15:27.742-05:00</updated><title type='text'>Binding a domain to VPN - Windows</title><content type='html'>&lt;br /&gt;
&lt;br /&gt;
Not all sites are redirected via the VPN site.&amp;nbsp; If we want a specific site pass thru the VPN connection, we&#39;ll need to bind the site&#39;s IP address to use the VPN&#39;s virtual network adapter.&lt;br /&gt;
&lt;br /&gt;
Assuming we want to route bitbucket.org to pass thru the VPN, here are the steps:&lt;br /&gt;
&lt;span style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;text-align: center;&quot;&gt;Get IP address of target site. bitbucket.org returns&amp;nbsp;18.205.93.2.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjmQg7AM66b1sAVdBjdlnyRMkHOES_Y-_0bWrVk4OUseKpQv_pd2yg6QPjC1KsR8bSpg4pcuBVX_Gcwlj6_6duu02WPhziUIWrz0jz0AAAnTqa3wGIxDg6Sd7W_VBS2Y3GdyzdC6EurT8/s1600/pingbitbucket.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;91&quot; data-original-width=&quot;482&quot; height=&quot;60&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjmQg7AM66b1sAVdBjdlnyRMkHOES_Y-_0bWrVk4OUseKpQv_pd2yg6QPjC1KsR8bSpg4pcuBVX_Gcwlj6_6duu02WPhziUIWrz0jz0AAAnTqa3wGIxDg6Sd7W_VBS2Y3GdyzdC6EurT8/s320/pingbitbucket.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;text-align: start;&quot;&gt;Go to https://www.arin.net/whois_tou.html. Search for&amp;nbsp;18.205.93.2.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;text-align: start;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_mfIHE_5dq5mIuvgG1b8ujsPSOgrWrQ7QU24xvyjRQ8Zx-qP_gy8f1Ov6oNuLWx4LEYfyppUyWCakkovH26wkk5vhxgEyfMaW7jLrgFIQr7MUF-k-hzBDEwiy8Al7-vjfZAW0MFUjYis/s1600/whois.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;85&quot; data-original-width=&quot;475&quot; height=&quot;57&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_mfIHE_5dq5mIuvgG1b8ujsPSOgrWrQ7QU24xvyjRQ8Zx-qP_gy8f1Ov6oNuLWx4LEYfyppUyWCakkovH26wkk5vhxgEyfMaW7jLrgFIQr7MUF-k-hzBDEwiy8Al7-vjfZAW0MFUjYis/s320/whois.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
Which gives us the following result.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEje9HJ1Cmqp92r0Re8seYWbkL2_wyu3_wxCNprn3fqcPK2g6ZcPyUKs76RDbJJfacLtEwUlymwJ8t1Ku29jnuAERQz9OsuBgi4a0OcNkcEvx03b9XVw39dEX4SMtFKlX9LTP2GTY0EIsbg/s1600/whois2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;621&quot; data-original-width=&quot;1012&quot; height=&quot;196&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEje9HJ1Cmqp92r0Re8seYWbkL2_wyu3_wxCNprn3fqcPK2g6ZcPyUKs76RDbJJfacLtEwUlymwJ8t1Ku29jnuAERQz9OsuBgi4a0OcNkcEvx03b9XVw39dEX4SMtFKlX9LTP2GTY0EIsbg/s320/whois2.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div&gt;
Go to&amp;nbsp;https://www.ipaddressguide.com/cidr and enter the CIDR in the box.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsmdn-EAg311bXDHyIJUYSoCyJdNReD7iIMf0F1B6qtVkwRlFzxgJDeGsWmf3KVnvXC5t_rE9CeP9j48CgG9gLiEzmep4ToYrz13BQG6ddTrkqS25LLpZsu_nbcdAMle8KNv4tp_yvtKw/s1600/whois3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;212&quot; data-original-width=&quot;397&quot; height=&quot;170&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsmdn-EAg311bXDHyIJUYSoCyJdNReD7iIMf0F1B6qtVkwRlFzxgJDeGsWmf3KVnvXC5t_rE9CeP9j48CgG9gLiEzmep4ToYrz13BQG6ddTrkqS25LLpZsu_nbcdAMle8KNv4tp_yvtKw/s320/whois3.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
This should result to this.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiirUYKriUwQzkRHFG4WbmXOGLH1JlJThyphenhyphenMvoqZdedy2xyYN1Rmf1dRww5F0SBolmTGefD1wvRqDAd6HFniQB3vmh4wR8iC4kVjeND680ldO7qD2x4CCsiOipirh32JErfZwFMul5txniQ/s1600/whois4.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;729&quot; data-original-width=&quot;900&quot; height=&quot;259&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiirUYKriUwQzkRHFG4WbmXOGLH1JlJThyphenhyphenMvoqZdedy2xyYN1Rmf1dRww5F0SBolmTGefD1wvRqDAd6HFniQB3vmh4wR8iC4kVjeND680ldO7qD2x4CCsiOipirh32JErfZwFMul5txniQ/s320/whois4.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
On to using the route tool.&amp;nbsp; What we have are:&lt;br /&gt;
bitbucket.org&#39;s IP address = 18.205.93.2&lt;br /&gt;
CIDR = 18.205.93.0/25&lt;br /&gt;
Subnet mask = 255.255.255.128&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Take not of the CIDR IP and the Subnet mask here&lt;/b&gt;.&amp;nbsp; In this case, it was 18.205.93.0 and 255.255.255.128.&lt;br /&gt;
&lt;br /&gt;
Identify the VPN virtual network.&amp;nbsp; This can easily be identified from the Status column.&amp;nbsp; Take note of the Name.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSbccWeCZV2uHQgv_6pwdXApGp4dU6iyYS0W1iQvD3BOCUplL_rgPL5EUDTM65FXVBJQfylAI2H7kZIWY7D6eLkSo5DAhvgmWeCHSB-5_k-OlDmZl2M2B3tYVpIjRbXblYONsyjzEsFck/s1600/whois5.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;264&quot; data-original-width=&quot;783&quot; height=&quot;107&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSbccWeCZV2uHQgv_6pwdXApGp4dU6iyYS0W1iQvD3BOCUplL_rgPL5EUDTM65FXVBJQfylAI2H7kZIWY7D6eLkSo5DAhvgmWeCHSB-5_k-OlDmZl2M2B3tYVpIjRbXblYONsyjzEsFck/s320/whois5.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
Open command prompt as an Administrator and enter &quot;route print&quot;. Take note of the Interface number located at the left.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWTfqPpIZLW44DPYv3xz9mGz7-K7R6gmz-zCNKmLo_gPUS4q5kxO26Zl_em8Z9gvj4s3zfTd7gemcVjP5EY__wOUDN2mxM2x217XEF86jnwvNj06PfNvA9Xw70n7O8vdADah_d0kZrKbU/s1600/whois6.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;219&quot; data-original-width=&quot;463&quot; height=&quot;151&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWTfqPpIZLW44DPYv3xz9mGz7-K7R6gmz-zCNKmLo_gPUS4q5kxO26Zl_em8Z9gvj4s3zfTd7gemcVjP5EY__wOUDN2mxM2x217XEF86jnwvNj06PfNvA9Xw70n7O8vdADah_d0kZrKbU/s320/whois6.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;Take note of the interface number&lt;/b&gt;.&amp;nbsp; In this case, it is 26.&lt;/div&gt;
&lt;br /&gt;
We need to identify the assigned IP address from the VPN.&amp;nbsp; To do that, we&#39;ll need to use ipconfig /all.&amp;nbsp; The Description should match the VPN&#39;s Interface description listed above.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPyxKDAjpQ_f-IVa2kcnCh0TZjb-Jid5eWENmFqhh4Igt82GR9sGiVj4ywnGTc0Y_EG5GFCy5UOntuXDMSPNARCb3c3d_W4-ql-Le6OGyvrt7_lmq63kKFM0Siaryl2vTfvBlucdxLGX0/s1600/whois7.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;131&quot; data-original-width=&quot;462&quot; height=&quot;90&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPyxKDAjpQ_f-IVa2kcnCh0TZjb-Jid5eWENmFqhh4Igt82GR9sGiVj4ywnGTc0Y_EG5GFCy5UOntuXDMSPNARCb3c3d_W4-ql-Le6OGyvrt7_lmq63kKFM0Siaryl2vTfvBlucdxLGX0/s320/whois7.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;Take note of the IPv4 address assigned by the VPN&lt;/b&gt;.&amp;nbsp;&lt;/div&gt;
&lt;br /&gt;
Finally, we&#39;re going to use the route tool to bind the bitbucket.org domain to pass thru the VPN.&lt;br /&gt;
Enter the following:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;b&gt;route add 18.205.93.0 mask 255.255.255.128 172.168.10.10 IF 26&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
18.205.93.0 is the CIDR IP&lt;br /&gt;
255.255.255.128 is the Subnet mask&lt;br /&gt;
172.168.10.10 is the assigned IP address from the VPN&lt;br /&gt;
26 is the Interface number&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
&lt;b&gt;But the VPN gives random IP addresses...&lt;/b&gt;&lt;/h3&gt;
Well, what we need to do is bind the interface itself regardless of what IP address it contains.&amp;nbsp; To do that:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;route add -p 18.205.93.0 mask 255.255.255.128 0.0.0.0 IF 22&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
We set the gateway to &lt;b&gt;&lt;i&gt;0.0.0.0&lt;/i&gt;&lt;/b&gt; and made the connection persistent with the &lt;b&gt;&lt;i&gt;-p&lt;/i&gt;&lt;/b&gt; parameter.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Deleting persistent entries&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Just use the delete option.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;route delete 18.205.93.0 172.168.10.10&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Something not clear?&amp;nbsp; Drop a comment below and I&#39;ll try to answer them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7881422778420642178/posts/default/8869110988873021528'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7881422778420642178/posts/default/8869110988873021528'/><link rel='alternate' type='text/html' href='http://thecyberdung.blogspot.com/2018/11/binding-domain-to-vpn-windows.html' title='Binding a domain to VPN - Windows'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjmQg7AM66b1sAVdBjdlnyRMkHOES_Y-_0bWrVk4OUseKpQv_pd2yg6QPjC1KsR8bSpg4pcuBVX_Gcwlj6_6duu02WPhziUIWrz0jz0AAAnTqa3wGIxDg6Sd7W_VBS2Y3GdyzdC6EurT8/s72-c/pingbitbucket.png" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-7881422778420642178.post-1107384484109076084</id><published>2018-11-14T12:02:00.002-05:00</published><updated>2018-11-14T12:04:38.044-05:00</updated><title type='text'>One Line Command Prompt that makes a PendingFileRenameOperations entry</title><content type='html'>&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: 16px;&quot;&gt;Run this at command prompt with Administrator privileges:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 16px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-size: 16px;&quot;&gt;echo Add-Type -TypeDefinition @&#39;&amp;gt;test.ps1&amp;amp;echo.using System;using System.Diagnostics;using System.Runtime.InteropServices;public static class Kernel32{[DllImport(&quot;kernel32.dll&quot;,CharSet=CharSet.Unicode,SetLastError= true)] public static extern bool MoveFileEx(String lpExistingFileName,String lpNewFileName,uint dwFlags);}&amp;gt;&amp;gt;test.ps1&amp;amp;echo.&#39;@&amp;gt;&amp;gt;test.ps1&amp;amp;echo.[Kernel32]::MoveFileEx(&quot;c:\deletethisfile.txt&quot;,0,4)&amp;gt;&amp;gt;test.ps1&amp;amp;echo.&amp;gt;&amp;gt;rwong.ps1&amp;amp;powershell -executionpolicy bypass -File test.ps1&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 16px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKtHiK2m1tylLZNttgvXCVdq5Q81-Ww0rYTYMXB6ryt_746v6hA-TIHSAJuAtIXXh-oUu4WyMir2BtmNDOhnNjiXbeP_SyesBZ4LoCDm8-_R867Bx_NR6czyYEudRWgSkfXVBLf5r65n4/s1600/pendingfilerename.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;176&quot; data-original-width=&quot;482&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKtHiK2m1tylLZNttgvXCVdq5Q81-Ww0rYTYMXB6ryt_746v6hA-TIHSAJuAtIXXh-oUu4WyMir2BtmNDOhnNjiXbeP_SyesBZ4LoCDm8-_R867Bx_NR6czyYEudRWgSkfXVBLf5r65n4/s1600/pendingfilerename.png&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: 16px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Registry entry now has a PendingFileRenameOperations entry:&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBYmC8bhU0DmBdLN-CTGOMTqEBxVc9qxyUu1h8-sGMiMelxTV9yw7MKX8WLr2tUP8hG_nnmaSJDX2en-_lM7QuZkvd1WE7CSOyqvnCDc0HwDv2WMeeaNgblK6fbU8Bvw5JH4k9K5KmyKs/s1600/pendingfilerename2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;272&quot; data-original-width=&quot;973&quot; height=&quot;111&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBYmC8bhU0DmBdLN-CTGOMTqEBxVc9qxyUu1h8-sGMiMelxTV9yw7MKX8WLr2tUP8hG_nnmaSJDX2en-_lM7QuZkvd1WE7CSOyqvnCDc0HwDv2WMeeaNgblK6fbU8Bvw5JH4k9K5KmyKs/s400/pendingfilerename2.png&quot; width=&quot;400&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Returns false if it fails.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7881422778420642178/posts/default/1107384484109076084'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7881422778420642178/posts/default/1107384484109076084'/><link rel='alternate' type='text/html' href='http://thecyberdung.blogspot.com/2018/11/one-line-command-prompt-that-makes.html' title='One Line Command Prompt that makes a PendingFileRenameOperations entry'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKtHiK2m1tylLZNttgvXCVdq5Q81-Ww0rYTYMXB6ryt_746v6hA-TIHSAJuAtIXXh-oUu4WyMir2BtmNDOhnNjiXbeP_SyesBZ4LoCDm8-_R867Bx_NR6czyYEudRWgSkfXVBLf5r65n4/s72-c/pendingfilerename.png" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-7881422778420642178.post-3696080533978228551</id><published>2018-11-12T23:47:00.000-05:00</published><updated>2018-11-12T23:47:28.755-05:00</updated><title type='text'>Enable group policy editor (gpedit.msc) in Windows</title><content type='html'>&lt;span style=&quot;background-color: #f9f2f4; color: #c7254e; font-family: monospace; font-size: 12px;&quot;&gt;FOR %F IN (&quot;%SystemRoot%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientTools-Package~*.mum&quot;) DO (&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; color: #c7254e; font-family: monospace; font-size: 12px; margin: 0px; outline: 0px; padding: 0px;&quot; /&gt;&lt;span style=&quot;background-color: #f9f2f4; color: #c7254e; font-family: monospace; font-size: 12px;&quot;&gt;DISM /Online /NoRestart /Add-Package:&quot;%F&quot;&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; color: #c7254e; font-family: monospace; font-size: 12px; margin: 0px; outline: 0px; padding: 0px;&quot; /&gt;&lt;span style=&quot;background-color: #f9f2f4; color: #c7254e; font-family: monospace; font-size: 12px;&quot;&gt;)&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; color: #c7254e; font-family: monospace; font-size: 12px; margin: 0px; outline: 0px; padding: 0px;&quot; /&gt;&lt;span style=&quot;background-color: #f9f2f4; color: #c7254e; font-family: monospace; font-size: 12px;&quot;&gt;FOR %F IN (&quot;%SystemRoot%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientExtensions-Package~*.mum&quot;) DO (&lt;/span&gt;&lt;br style=&quot;box-sizing: border-box; color: #c7254e; font-family: monospace; font-size: 12px; margin: 0px; outline: 0px; padding: 0px;&quot; /&gt;&lt;span style=&quot;background-color: #f9f2f4; color: #c7254e; font-family: monospace; font-size: 12px;&quot;&gt;DISM /Online /NoRestart /Add-Package:&quot;%F&quot;&lt;/span&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7881422778420642178/posts/default/3696080533978228551'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7881422778420642178/posts/default/3696080533978228551'/><link rel='alternate' type='text/html' href='http://thecyberdung.blogspot.com/2018/11/enable-group-policy-editor-gpeditmsc-in.html' title='Enable group policy editor (gpedit.msc) in Windows'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry></feed>