<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Tepid Angler</title>
    <description>The latest articles on DEV Community by Tepid Angler (@tepidangler).</description>
    <link>https://dev.to/tepidangler</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F92466%2F50bbd6d9-9fdb-49c5-999f-d509edd61737.jpeg</url>
      <title>DEV Community: Tepid Angler</title>
      <link>https://dev.to/tepidangler</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/tepidangler"/>
    <language>en</language>
    <item>
      <title>Moving Forward.cpp</title>
      <dc:creator>Tepid Angler</dc:creator>
      <pubDate>Wed, 13 Nov 2019 18:26:47 +0000</pubDate>
      <link>https://dev.to/tepidangler/moving-forward-cpp-2odk</link>
      <guid>https://dev.to/tepidangler/moving-forward-cpp-2odk</guid>
      <description>&lt;p&gt;This is gonna be a relatively short and sweet article. I recently began refreshing myself on C++ (post C++98) and that gave me an idea to possibly look into game development. Although I'm very aware it's frowned upon to code your own game engine, that's exactly what I will be doing. So to basically sum things up without being too winded, I'll be using this to post Hack the Box (HTB) write-ups of boxes that I pwn once they retire, and I've also thought of the possibility of detailing my game dev projects here. Anyway, stay tuned for more folks!&lt;/p&gt;

&lt;p&gt;P.S. Below is a simple calculator program I wrote, it's available on my github page as well in the 'Calculator' repo. Feel free to improve it, break it or whatever you feel like doing. If you make it do something cool or unexpected definitely let me know. If you want to add algebraic functions or something similar that's also fine.&lt;/p&gt;

&lt;p&gt;calc.cpp:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;/* This is my first attempt at a calculator program. It will have the ability to add, divide, subtract, and multiply values given to it by the user */

#include &amp;lt;iostream&amp;gt;
#include &amp;lt;unistd.h&amp;gt;

int getValueFromUser()
{
    std::cout &amp;lt;&amp;lt; "Enter an Integer please: ";
    int input{ 0 };
    std::cin &amp;gt;&amp;gt; input;
    std::cout &amp;lt;&amp;lt; "[+] Storing value, please wait\n";
    sleep(2);
    return input;
}

int add(int x, int y)
{
    return x + y;
}

int multiply(int z, int w)
{
    return z * w;
}

int sub(int b, int c)
{
    return b - c;
}

int divide(int d, int e)
{
    return d / e;
}

void doCalc(int choice)
{
    int a{ };
    int s{ };
    int m{ };
    int di{ };

    switch(choice) {

        case 1 :
            a = ( add( getValueFromUser(), getValueFromUser() ));
            std::cout &amp;lt;&amp;lt; "Your Total for addition is =&amp;gt; " &amp;lt;&amp;lt; a &amp;lt;&amp;lt; "\n";
            std::cout &amp;lt;&amp;lt; "\nThank you for using the Calculator\n";
            break;
        case 2 :
            s = sub( getValueFromUser(), getValueFromUser() );
            std::cout &amp;lt;&amp;lt; "Your Total for subtraction is =&amp;gt; " &amp;lt;&amp;lt; s &amp;lt;&amp;lt; "\n";
            std::cout &amp;lt;&amp;lt; "\nThank you for using the Calculator\n";
            break;
        case 3 :
            m = multiply( getValueFromUser(), getValueFromUser() );
            std::cout &amp;lt;&amp;lt; "Your Total for Multiplication is =&amp;gt; " &amp;lt;&amp;lt; m &amp;lt;&amp;lt; "\n";
            std::cout &amp;lt;&amp;lt; "\nThank you for using the Calculator\n";
            break;
        case 4 :
            di = divide( getValueFromUser(), getValueFromUser() );
            std::cout &amp;lt;&amp;lt; "Your Total for Division is =&amp;gt; " &amp;lt;&amp;lt; di &amp;lt;&amp;lt; "\n";
            std::cout &amp;lt;&amp;lt; "\nThank you for using the Calculator\n";
            break;
        case 5 :
            std::cout &amp;lt;&amp;lt; "Thanks for wasting your own time fam. You played yourself\n";
            exit (EXIT_SUCCESS);
            break;
        default :
            std::cout &amp;lt;&amp;lt; "The Instructions were clear than a mothafucker dog, learn to read.\n";
            std::cout &amp;lt;&amp;lt; "You know what fuck this shit I'm aborting\n";
            exit (EXIT_SUCCESS);
    }
}

int main()
{
    int choice{ 0 };
    std::cout &amp;lt;&amp;lt; "Welcome to Tepi's original Calculator written in C++\n";
    std::cout &amp;lt;&amp;lt; "Would you like do (1) Addition, (2) Subtraction, (3) Multiplication, (4) Division, or (5) Exit?\n&amp;gt;";
    std::cin &amp;gt;&amp;gt; choice;
    doCalc(choice);
    return 0;
}


&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



</description>
      <category>vi</category>
      <category>discuss</category>
      <category>cpp</category>
    </item>
    <item>
      <title>Hack The Box</title>
      <dc:creator>Tepid Angler</dc:creator>
      <pubDate>Mon, 13 Aug 2018 17:42:59 +0000</pubDate>
      <link>https://dev.to/tepidangler/hack-the-box-30m3</link>
      <guid>https://dev.to/tepidangler/hack-the-box-30m3</guid>
      <description>&lt;p&gt;I recently stumbled upon what I now call a gem, Hack The Box. In short it's a series of servers on a vpn that you can hack with the ultimate goal of rooting the box. They have varying difficulties the easiest I've completed (which is 1/2 lol) was 'Jerry', it didn't take much knowledge of anything except maybe enumeration. 'Poison' however was very difficult in the sense that sometimes when starting my testing I have a tendency to get brute-force happy on everything while sometimes overlooking much easier vulnerabilities. Anyway the goal of most of these boxes are to get a user hash and and root hash, you earn points for it which translates to rank and I would assume eventually leads to job offers or something like that. But it's the best 'hacker game' I've seen since Pull the Plug. If you enjoy these kinds of things or are at least interested you should probably check it out. Now be forewarned you have to 'hack' your way through the invitation process, but it's not something that you should find too difficult.&lt;/p&gt;

</description>
      <category>htb</category>
      <category>linux</category>
      <category>discuss</category>
      <category>programming</category>
    </item>
    <item>
      <title>Vulns</title>
      <dc:creator>Tepid Angler</dc:creator>
      <pubDate>Mon, 13 Aug 2018 16:03:52 +0000</pubDate>
      <link>https://dev.to/tepidangler/vulns-205d</link>
      <guid>https://dev.to/tepidangler/vulns-205d</guid>
      <description>

&lt;p&gt;It would seem as though today there is a major emphasis on cyber security. For what reason I'm honestly not sure. Let's play devils advocate and say that there are corporations out there that genuinely care about your CPNI for the sole sake of doing good business. One may argue that it's impossible to cover all vulnerabilities and exploits, and to that I say bullshit. While you're right that anything can be exploited with the right amount of time and effort, the other side to this coin is that most people aren't going to take that time and effort unless there a big payout. As much as I would love to blame corporations for the entirety of this BS I can't, having personally witnessed some of the "cautionary" steps that some of our more powerful collectives of people take to ensure their own trade secrets; it blows my mind that they don't take YOUR information as serious when it comes to protection. Willingness to facilitate crimes by placing the responsibility with others is never the way to go. Not to much can be said, but I CAN say this: if you're into cyber security, or even if you aren't, be very very very careful with who you trust with your personal information..... it could be only a well-crafted google search away&lt;/p&gt;


</description>
      <category>vulns</category>
      <category>metasploit</category>
      <category>linux</category>
      <category>nix</category>
    </item>
  </channel>
</rss>
