tristandostaler / EmpireGUI

This is a GUI for the projet https://github.com/PowerShellEmpire/Empire
16 stars 3 forks source link

can't connect anymore #3

Closed theoneandonly-vector closed 8 years ago

theoneandonly-vector commented 8 years ago

I can't connect to empire anymore (empire 1.6.0 and latest EmpireGUI)

java.lang.IllegalStateException: Not on FX application thread; currentThread = Thread-3 at com.sun.javafx.tk.Toolkit.checkFxUserThread(Toolkit.java:236) at com.sun.javafx.tk.quantum.QuantumToolkit.checkFxUserThread(QuantumToolkit.java:423) at javafx.stage.Stage.(Stage.java:241) at javafx.stage.Stage.(Stage.java:227) at javafx.scene.control.HeavyweightDialog$1.(HeavyweightDialog.java:52) at javafx.scene.control.HeavyweightDialog.(HeavyweightDialog.java:52) at javafx.scene.control.Dialog.(Dialog.java:263) at javafx.scene.control.Alert.(Alert.java:245) at javafx.scene.control.Alert.(Alert.java:223) at pse_gui.ResponseHandler.showOutput(ResponseHandler.java:70) at pse_gui.ResponseHandler.handleResponse(ResponseHandler.java:45) at pse_gui.RequestRunner.run(PowershellEmpireConnection.java:277) at pse_gui.PowershellEmpireConnection.send(PowershellEmpireConnection.java:141) at pse_gui.RequestHandler.getStagers(RequestHandler.java:156) at pse_gui.MainView$14$1.call(MainView.java:596) at pse_gui.MainView$14$1.call(MainView.java:1) at javafx.concurrent.Task$TaskCallable.call(Task.java:1423) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at javafx.concurrent.Service.lambda$null$6(Service.java:725) at java.security.AccessController.doPrivileged(Native Method) at javafx.concurrent.Service.lambda$executeTask$7(Service.java:724) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)

tristandostaler commented 8 years ago

Let me try with 1.6.0 and come back to you.

Thanks by the way!

tristandostaler commented 8 years ago

It worked for me with latest EmpireGUI and Empire 1.6.0. Maybe the token changed? Can you try again and provide the past events output (don't forget to remove sensitive data)?

Thanks!

theoneandonly-vector commented 8 years ago

I just removed Empire and EmpireGUI and git cloned them again + run the initial setup for Empire. It won't work using the API token. via terminal Empire works without a problem. empire empiregui1 empiregui_error

theoneandonly-vector commented 8 years ago

no Address an Port selected. I just was confused, why EmpireGUI showed me: stagers, modules, agents -Menu's

tristandostaler commented 8 years ago

Hum excellent point! I will try to fix that some way soon. Thanks!!

tristandostaler commented 8 years ago

Hey! I added a few check for the login and changed the error displayed so you get something usefull for a error message. Check the new version! Thanks again!