Package com.jsql.model.accessible.vendor
Class ExploitMysql
java.lang.Object
com.jsql.model.accessible.vendor.ExploitMysql
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyNetshare
(int nbIndexesFound, String pathNetshareFolder, String nameExploit, String pathRemoteFolder, BiPredicate<String, String> biPredConfirm) byQueryBody
(int nbIndexesFound, String pathRemoteFolder, String nameExploit, List<String> hexChunks, BiPredicate<String, String> biPredConfirm) void
create
(String pathRemoteFolder, String urlExploit, String keyPropertyExploit, String nameExploit, BinaryOperator<String> biFuncGetRequest, String pathNetshareFolder, ExploitMode exploitMode) Create shell on remote servercreateSql
(String pathExploit, String urlExploit, String pathNetshare, ExploitMode exploitMode, String username, String password) void
createUdf
(String pathNetshareFolder, ExploitMode exploitMode) void
createUpload
(String pathExploit, String urlExploit, String pathNetshare, ExploitMode exploitMode, File fileToUpload) createWeb
(String pathExploit, String urlExploit, String pathNetshare, ExploitMode exploitMode)
-
Field Details
-
NAME_TABLE
- See Also:
-
-
Constructor Details
-
ExploitMysql
-
-
Method Details
-
createWeb
public String createWeb(String pathExploit, String urlExploit, String pathNetshare, ExploitMode exploitMode) throws JSqlException - Throws:
JSqlException
-
createSql
public String createSql(String pathExploit, String urlExploit, String pathNetshare, ExploitMode exploitMode, String username, String password) throws JSqlException - Throws:
JSqlException
-
createUpload
public void createUpload(String pathExploit, String urlExploit, String pathNetshare, ExploitMode exploitMode, File fileToUpload) throws JSqlException - Throws:
JSqlException
-
create
public String create(String pathRemoteFolder, String urlExploit, String keyPropertyExploit, String nameExploit, BinaryOperator<String> biFuncGetRequest, String pathNetshareFolder, ExploitMode exploitMode) throws JSqlException Create shell on remote server- Parameters:
urlExploit
- URL for the script (used for url rewriting)- Throws:
JSqlException
-
createUdf
- Throws:
JSqlException
-
byQueryBody
-
byTable
- Throws:
JSqlException
-
confirm
- Throws:
JSqlException
-
runUdfCmd
-
getModelYaml
-