Created
October 15, 2015 08:36
-
-
Save EvelynSubarrow/0ceb9153ed066134996c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fun main(args : Array<String>) | |
{ | |
val post = Post() | |
post.url = "https://cybersecuritychallenge.org.uk/signup/" | |
post.add("username" , "y5fs546sdt") | |
post.add("password" , "4645645634") | |
post.add("email" , "hdsfdsaf@mail.ru") | |
post.add("eu_citizen" , "EU Citizen") | |
post.add("fname" , "\u202eEvelyn") | |
post.add("lname" , "\u202eWolfface") | |
post.add("sex" , "wolf") | |
post.add("date_day" , "12") | |
post.add("date_month" , "Sep") | |
post.add("date_year" , "9001") | |
post.add("submit" , "Register") | |
post.execute() | |
println(if(post.result.contains("Registration complete.")) "success" else "failure") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment