<?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: Lauren</title>
    <description>The latest articles on DEV Community by Lauren (@lpjune).</description>
    <link>https://dev.to/lpjune</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%2F130063%2Fe1a9a5a5-4560-46a5-8b9d-b523e12f5d2f.jpeg</url>
      <title>DEV Community: Lauren</title>
      <link>https://dev.to/lpjune</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/lpjune"/>
    <language>en</language>
    <item>
      <title>What accessories do you recommend for the traveling remote developer?</title>
      <dc:creator>Lauren</dc:creator>
      <pubDate>Tue, 07 Jul 2020 20:55:07 +0000</pubDate>
      <link>https://dev.to/lpjune/what-accessories-do-you-recommend-for-the-traveling-remote-developer-2g7g</link>
      <guid>https://dev.to/lpjune/what-accessories-do-you-recommend-for-the-traveling-remote-developer-2g7g</guid>
      <description>&lt;p&gt;At the start of next month I will be traveling a good bit, while still working remotely. We're talking airports, hotel rooms, etc. I've been considering a portable monitor for my laptop (although specific recs would be great!), but what else do you guys recommend for an on-the-go dev?&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Make a Rubber Ducky for $3 with Digispark </title>
      <dc:creator>Lauren</dc:creator>
      <pubDate>Wed, 04 Dec 2019 06:46:52 +0000</pubDate>
      <link>https://dev.to/lpjune/make-a-rubber-ducky-for-3-with-digispark-2fp9</link>
      <guid>https://dev.to/lpjune/make-a-rubber-ducky-for-3-with-digispark-2fp9</guid>
      <description>&lt;p&gt;Edit: Stray let me know in the comments that this will only work on the computer you install the Digistump Drivers on, unfortunately. Still looking for a workaround!&lt;/p&gt;

&lt;h2&gt;
  
  
  Wait, what &lt;em&gt;is&lt;/em&gt; a Rubber Ducky?
&lt;/h2&gt;

&lt;p&gt;A Rubber Ducky is an awesome USB keystroke injector. Basically, you can write whatever scripts you want containing clicks/keystrokes, and they are run immediately when plugged into Linux/Windows/Mac machines. This is super useful for many pentesting activities, and even pranks! &lt;/p&gt;

&lt;p&gt;However, not many of us want to pay $49.99 for the tool, so some smart folks out there (not me) have devised a way to make one using a $3 Digispark microcontroller. Here's how to make your own.&lt;/p&gt;

&lt;h2&gt;
  
  
  What do I need?
&lt;/h2&gt;

&lt;p&gt;Digispark ATTINY85 microcontroller (the only purchase)&lt;br&gt;
Arduino IDE software&lt;br&gt;
Digistump Drivers&lt;br&gt;
Duckyspark software&lt;/p&gt;

&lt;h2&gt;
  
  
  Arduino IDE
&lt;/h2&gt;

&lt;p&gt;The Arduino IDE will allow us to write, compile, and upload code to our Digispark&lt;/p&gt;

&lt;ul&gt;

&lt;li&gt;You can download the Arduino IDE for Windows, Linux, or Mac for free from &lt;a href="https://www.arduino.cc/en/Main/Software"&gt;their software page&lt;/a&gt;
&lt;/li&gt;

&lt;li&gt;Once opened, go to File -&amp;gt; Preferences, and in the Additional Boards Manager URLs input, enter http://digistump.com/package_digistump_index.json
&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--0Rjojfk6--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/qrlmyxkqd2l1keitvmls.PNG"&gt;
&lt;/li&gt;

&lt;li&gt;Go to Tools -&amp;gt; Board -&amp;gt; Boards Manager and search for Digistump AVR Boards (you'll want the one authored by Digistump) and click install &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--LCAHNeCQ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/nn2wtzxw0rjr6wmqsxfx.PNG"&gt;
&lt;/li&gt;

&lt;li&gt;If any other installations are prompted (like drivers) accept them&lt;/li&gt;

&lt;li&gt;Finally, go to Tools -&amp;gt; Board and select Digispark (Default - 16.5mhz) &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--z71buLXi--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/x4t8i4t6l5r29tztp2lv.png"&gt;
&lt;/li&gt;

&lt;/ul&gt;

&lt;h2&gt;
  
  
  Digistump Drivers
&lt;/h2&gt;

&lt;ul&gt;

&lt;li&gt;Download the &lt;a href="https://github.com/toxydose/Duckyspark"&gt;driver zip file&lt;/a&gt; and unzip it&lt;/li&gt;

&lt;li&gt;Enter the directory and run the Install Drivers file, then go through the installation wizard and accept&lt;/li&gt;

&lt;/ul&gt;

&lt;h2&gt;
  
  
  Duckyspark
&lt;/h2&gt;

&lt;p&gt;The Duckyspark Python script lets us translate Ducky code to Digispark code. There are a lot of scripts people have made that we want to use!&lt;/p&gt;

&lt;ul&gt;

&lt;li&gt;Clone the Duckyspark repository from &lt;a href="https://github.com/toxydose/Duckyspark"&gt;their GitHub page&lt;/a&gt; to wherever you want it&lt;/li&gt;

&lt;/ul&gt;

&lt;h2&gt;
  
  
  Putting it All Together
&lt;/h2&gt;

&lt;p&gt;Now that we have everything we need, it's time to try it out.&lt;/p&gt;

&lt;ul&gt;

&lt;li&gt;Find a ducky script you want to use, for a harmless one that's good for testing I recommend the &lt;a href="https://ducktoolkit.com/userscripts"&gt;Notepad Demo by Cloudcompany.at&lt;/a&gt; &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--PcpFs6Tm--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/th3g0hq5q59na0q7k2kq.PNG"&gt;
&lt;/li&gt;

&lt;li&gt;Open the demo and either click Encode Payload and download it as duckycode.txt, or copy and paste the code into a txt file&lt;/li&gt;

&lt;li&gt;Move your newly made txt file into the Duckyspark repo we cloned. Open a terminal and cd to the repo then run 
&lt;code&gt;py Duckyspark_translator.py nameofyourfile.txt&lt;/code&gt;
&lt;/li&gt;

&lt;li&gt;You should get a 'Success!' message and a new file called digipayload.ino in the repo &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--YmYlOlcc--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/vhrp4srggxgeeotmdz5w.PNG"&gt;
&lt;/li&gt;

&lt;li&gt;Double-click the ino file, or open it in the Arduino IDE, then go to Sketch -&amp;gt; Verify/Compile &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--XUb4Fyap--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/slmgtlaj0yvo1dy3i71p.png"&gt;
&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--xlnSWGQs--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/t7m7pf9gllhm7q8av6f2.PNG"&gt;
&lt;/li&gt;

&lt;li&gt;Finally, go to Sketch -&amp;gt; Upload and plug in your Digikey when prompted. &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ddF_Wk6Y--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/m7cxjp0exmotk4enqsik.png"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Nt9QcY4I--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/e2vyqpht2e0bbe0495xg.PNG"&gt;
&lt;/li&gt;

&lt;li&gt;Once it is successfully uploaded, remove the Digikey and re-insert it. Your script should run! &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--2a-ZOtUX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/25j84w87rhn236nxq2gg.PNG"&gt;
&lt;/li&gt;

&lt;/ul&gt;

&lt;h2&gt;
  
  
  Common Errors
&lt;/h2&gt;

&lt;ul&gt;

&lt;li&gt;If you get this error at compile: "DigiKeyboard.h: No such file or directory", your board was likely changed when the Arduino IDE was reopened. Go back to Tools -&amp;gt; Board and select Digispark (Default - 16.5mhz)&lt;/li&gt;

&lt;li&gt;If you have any other errors and/or their fixes, please leave them in the comments :)&lt;/li&gt;

&lt;/ul&gt;

&lt;h2&gt;
  
  
  What now?
&lt;/h2&gt;

&lt;p&gt;Now that you have everything installed, you can either write your own scripts in the DigiKeyboard language, or in Ducky and translate it with Duckyspark. Also as you've seen, there are tons of scripts out there for Ducky that you can translate. But be careful, many of them are for pentesting and other security applications, so don't make yourself vulnerable.&lt;/p&gt;

&lt;p&gt;Thanks for reading!&lt;/p&gt;

</description>
      <category>pentesting</category>
      <category>arduino</category>
      <category>security</category>
      <category>digispark</category>
    </item>
  </channel>
</rss>
