Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.net.URL;
- import java.net.URLConnection;
- public class Test
- {
- private static String nickname = "User1";
- private static String password = "123";
- public static void main(String[] args)
- {
- rot13();
- }
- public static void rot13()
- {
- String urlfile = "uggc://jjj.tbbtyr.qr/"; // verschlüsselter link rot13
- StringBuffer urlfile2 = new StringBuffer();
- for (int i = 0; i < urlfile.length(); i++)
- {
- char c = urlfile.charAt(i);
- if (c >= 'a' && c <= 'm')
- c += 13;
- else if (c >= 'n' && c <= 'z')
- c -= 13;
- else if (c >= 'A' && c <= 'M')
- c += 13;
- else if (c >= 'A' && c <= 'Z')
- c -= 13;
- urlfile2.append(c);
- }
- try
- {
- URL url = new URL(urlfile2 + "?nick=" + nickname + "&pw="
- + password);
- URLConnection con = url.openConnection();
- System.out.println(urlfile2);
- }
- catch (Exception e)
- {
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement