Colonel_Panic Posted September 28, 2017 Share Posted September 28, 2017 (edited) I know this is probably a reach, but I'm curious if anyone's had any luck running custom scripts that rely on external JAR dependencies? I want to connect to a MySQL database from my script so I have it include the mysql connector driver jar, but this isn't included when you export to a jar; so my script fails as it doesn't know what com.mysql.jdbc.Driver is. This will only be used locally, so no worries about this not being supported via the SDN. All the stack overflow posts I can find point to exporting it as a "runnable external jar" so you can include external jars in the package. But this obviously doesn't seem right as the script by itself isn't runnable. Edited September 28, 2017 by Colonel_Panic Quote Link to comment Share on other sites More sharing options...
Deceiver Posted September 28, 2017 Share Posted September 28, 2017 cant use jdbc or any other external jar/lib because of security exceptions you have to use sockets Quote Link to comment Share on other sites More sharing options...
Night Posted September 28, 2017 Share Posted September 28, 2017 4 minutes ago, Deceiver said: cant use jdbc or any other external jar/lib because of security exceptions you have to use sockets Doesn't OSBot block socket connections in security manager? Quote Link to comment Share on other sites More sharing options...
Deceiver Posted September 28, 2017 Share Posted September 28, 2017 3 minutes ago, Night said: Doesn't OSBot block socket connections in security manager? idk lad- its what everyone else says who farms on a decent scale Quote Link to comment Share on other sites More sharing options...
Colonel_Panic Posted September 28, 2017 Author Share Posted September 28, 2017 19 minutes ago, Deceiver said: cant use jdbc or any other external jar/lib because of security exceptions you have to use sockets Gross. Was hoping to avoid sockets, but I guess I'll have to use em anyways. Thanks for the input man! Quote Link to comment Share on other sites More sharing options...
dreameo Posted September 29, 2017 Share Posted September 29, 2017 You can setup a http server, create a connection between client and server and then do db stuff via server. Quote Link to comment Share on other sites More sharing options...