Jump to content

Recommended Posts

Posted

Hi Guys, 

I'm pen-testing my fathers business network and I am using the Arduino Micro to input commands into the command Prompt. However when the Arduino try's to input an email address to email a log back to the 'hacker' the @ symbol in the Arduino script appears as an " in command Prompt??

Any help is appreciated.

Many Thanks

Charlie

Posted (edited)

It is caused by the keyboard layout used by the OS. I assume your target is using the UK keyboard.You can change the keyboard layout for your Arduino Tools>Keyboard Layout to US English. 

Or rather much simple solution is to use double quotes key on your arduino to type the at key instead. Also do mind escape characters.

 

Edited by kbeflo
Posted (edited)

I'd rather follow the second tip, much simpler imo. Yeah, I don't think you can change the keyboard layout of your Arduino Micro.

Edited by kbeflo
Posted (edited)

Try in a console 

echo $'\x40'

If that becomes an @ symbol, then maybe you can script it to a variable or use it as is inline like that. Thats the hexadecimal for @ Should note, if using on command line in full string, don't put the echo in, that was just to demonstrate the output to console. Typing $'\x40' will enter @ on the command line but show as an error when you hit enter since it's not  valid command by itself.

 

lookup table if you need it - http://ascii.cl/

Edited by digip

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...