diff --git a/.gitignore b/.gitignore index 466e248..e69de29 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +0,0 @@ -out/ \ No newline at end of file diff --git a/out/artifacts/proxy/Proxy.lnk b/out/artifacts/proxy/Proxy.lnk new file mode 100644 index 0000000..525a970 Binary files /dev/null and b/out/artifacts/proxy/Proxy.lnk differ diff --git a/out/artifacts/proxy/Run console.cmd b/out/artifacts/proxy/Run console.cmd new file mode 100644 index 0000000..e9bc8f1 --- /dev/null +++ b/out/artifacts/proxy/Run console.cmd @@ -0,0 +1,4 @@ +@echo off +cls +java -jar proxy.jar +exit \ No newline at end of file diff --git a/out/artifacts/proxy/Run.cmd b/out/artifacts/proxy/Run.cmd new file mode 100644 index 0000000..42b7b28 --- /dev/null +++ b/out/artifacts/proxy/Run.cmd @@ -0,0 +1,4 @@ +@echo off +cls +start /B javaw -jar proxy.jar +exit \ No newline at end of file diff --git a/out/artifacts/proxy/config/config.json b/out/artifacts/proxy/config/config.json new file mode 100644 index 0000000..e96e519 --- /dev/null +++ b/out/artifacts/proxy/config/config.json @@ -0,0 +1,7 @@ +{ + "port" : "7458", + "proxyList" : [ + "http://ideco.mcs.br/wpad.dat", + "http://proxy.mcs.br:8080/array.dll?Get.Routing.Script" + ] +} \ No newline at end of file diff --git a/out/artifacts/proxy/logs/2023.03.16_12-02-03_startup.log b/out/artifacts/proxy/logs/2023.03.16_12-02-03_startup.log new file mode 100644 index 0000000..d11f5ca --- /dev/null +++ b/out/artifacts/proxy/logs/2023.03.16_12-02-03_startup.log @@ -0,0 +1,2 @@ +[2023-03-16 12:02:03] [SystemTray] System tray launched +[2023-03-16 12:02:17] [Pregram] Exiting program diff --git a/out/artifacts/proxy/logs/2023.03.16_12-02-50_startup.log b/out/artifacts/proxy/logs/2023.03.16_12-02-50_startup.log new file mode 100644 index 0000000..3a3b363 --- /dev/null +++ b/out/artifacts/proxy/logs/2023.03.16_12-02-50_startup.log @@ -0,0 +1,2 @@ +[2023-03-16 12:02:50] [SystemTray] System tray launched +[2023-03-16 12:03:31] [Program] Exiting program diff --git a/out/artifacts/proxy/logs/2023.03.16_12-17-43_startup.log b/out/artifacts/proxy/logs/2023.03.16_12-17-43_startup.log new file mode 100644 index 0000000..129bd0d --- /dev/null +++ b/out/artifacts/proxy/logs/2023.03.16_12-17-43_startup.log @@ -0,0 +1,6 @@ +[2023-03-16 12:17:43] [Config Loading] Port loaded: 7458 +[2023-03-16 12:17:43] [BindSocket] Socket binded +[2023-03-16 12:17:43] [BindSocket] Local Socket Address: localhost/127.0.0.1:7458 +[2023-03-16 12:17:43] [SystemTray] System tray launched +[2023-03-16 12:18:06] [Program] Closing server socket... +[2023-03-16 12:18:06] [Program] Exiting program diff --git a/out/artifacts/proxy/logs/2023.03.16_12-19-34_startup.log b/out/artifacts/proxy/logs/2023.03.16_12-19-34_startup.log new file mode 100644 index 0000000..7aeffd1 --- /dev/null +++ b/out/artifacts/proxy/logs/2023.03.16_12-19-34_startup.log @@ -0,0 +1,6 @@ +[2023-03-16 12:19:34] [Config Loading] Port loaded: 7458 +[2023-03-16 12:19:34] [BindSocket] Socket binded +[2023-03-16 12:19:34] [BindSocket] Local Socket Address: localhost/127.0.0.1:7458 +[2023-03-16 12:19:35] [SystemTray] System tray launched +[2023-03-16 12:19:38] [Program] Closing server socket... +[2023-03-16 12:19:38] [Program] Exiting program diff --git a/out/artifacts/proxy/logs/2023.03.16_12-33-27_startup.log b/out/artifacts/proxy/logs/2023.03.16_12-33-27_startup.log new file mode 100644 index 0000000..e3859a7 --- /dev/null +++ b/out/artifacts/proxy/logs/2023.03.16_12-33-27_startup.log @@ -0,0 +1,6 @@ +[2023-03-16 12:33:27] [Config Loading] Port loaded: 7458 +[2023-03-16 12:33:27] [BindSocket] Socket binded +[2023-03-16 12:33:27] [BindSocket] Local Socket Address: localhost/127.0.0.1:7458 +[2023-03-16 12:33:27] [SystemTray] System tray launched +[2023-03-16 12:33:29] [Program] Closing server socket... +[2023-03-16 12:33:29] [Program] Exiting program diff --git a/out/artifacts/proxy/logs/2023.03.29_17-02-36_startup.log b/out/artifacts/proxy/logs/2023.03.29_17-02-36_startup.log new file mode 100644 index 0000000..303619e --- /dev/null +++ b/out/artifacts/proxy/logs/2023.03.29_17-02-36_startup.log @@ -0,0 +1,7 @@ +[2023-03-29 17:02:36] [Config Loading] Port loaded: 7458 +[2023-03-29 17:02:36] [BindSocket] Socket binded +[2023-03-29 17:02:36] [BindSocket] Local Socket Address: localhost/127.0.0.1:7458 +[2023-03-29 17:02:36] [Config Loading] Proxy list loaded. Items count: 2 + [Config Loading] Proxy list item: http://ideco.mcs.br/wpad.dat + [Config Loading] Proxy list item: http://proxy.mcs.br:8080/array.dll?Get.Routing.Script +[2023-03-29 17:02:37] [SystemTray] System tray launched diff --git a/out/artifacts/proxy/logs/2023.03.29_17-04-54_startup.log b/out/artifacts/proxy/logs/2023.03.29_17-04-54_startup.log new file mode 100644 index 0000000..d3365c2 --- /dev/null +++ b/out/artifacts/proxy/logs/2023.03.29_17-04-54_startup.log @@ -0,0 +1,7 @@ +[2023-03-29 17:04:54] [Config Loading] Port loaded: 7458 +[2023-03-29 17:04:54] [BindSocket] Socket binded +[2023-03-29 17:04:54] [BindSocket] Local Socket Address: localhost/127.0.0.1:7458 +[2023-03-29 17:04:54] [Config Loading] Proxy list loaded. Items count: 2 + [Config Loading] Proxy list item: http://ideco.mcs.br/wpad.dat + [Config Loading] Proxy list item: http://proxy.mcs.br:8080/array.dll?Get.Routing.Script +[2023-03-29 17:04:55] [SystemTray] System tray launched diff --git a/out/artifacts/proxy/logs/2023.03.29_17-05-52_startup.log b/out/artifacts/proxy/logs/2023.03.29_17-05-52_startup.log new file mode 100644 index 0000000..7e9d465 --- /dev/null +++ b/out/artifacts/proxy/logs/2023.03.29_17-05-52_startup.log @@ -0,0 +1,7 @@ +[2023-03-29 17:05:52] [Config Loading] Port loaded: 7458 +[2023-03-29 17:05:52] [BindSocket] Socket binded +[2023-03-29 17:05:52] [BindSocket] Local Socket Address: localhost/127.0.0.1:7458 +[2023-03-29 17:05:52] [Config Loading] Proxy list loaded. Items count: 2 + [Config Loading] Proxy list item: http://ideco.mcs.br/wpad.dat + [Config Loading] Proxy list item: http://proxy.mcs.br:8080/array.dll?Get.Routing.Script +[2023-03-29 17:05:52] [SystemTray] System tray launched diff --git a/out/artifacts/proxy/proxy.jar b/out/artifacts/proxy/proxy.jar new file mode 100644 index 0000000..b77d804 Binary files /dev/null and b/out/artifacts/proxy/proxy.jar differ diff --git a/out/artifacts/proxy/res/icon.ico b/out/artifacts/proxy/res/icon.ico new file mode 100644 index 0000000..cb69f04 Binary files /dev/null and b/out/artifacts/proxy/res/icon.ico differ diff --git a/out/artifacts/proxy/res/icon.png b/out/artifacts/proxy/res/icon.png new file mode 100644 index 0000000..890aa70 Binary files /dev/null and b/out/artifacts/proxy/res/icon.png differ diff --git a/out/artifacts/proxy/run.bat b/out/artifacts/proxy/run.bat new file mode 100644 index 0000000..42b7b28 --- /dev/null +++ b/out/artifacts/proxy/run.bat @@ -0,0 +1,4 @@ +@echo off +cls +start /B javaw -jar proxy.jar +exit \ No newline at end of file diff --git a/out/production/proxy/META-INF/MANIFEST.MF b/out/production/proxy/META-INF/MANIFEST.MF new file mode 100644 index 0000000..abb9c37 --- /dev/null +++ b/out/production/proxy/META-INF/MANIFEST.MF @@ -0,0 +1,3 @@ +Manifest-Version: 1.0 +Main-Class: org.proxy.Main + diff --git a/out/production/proxy/org/proxy/Main$1.class b/out/production/proxy/org/proxy/Main$1.class new file mode 100644 index 0000000..477176d Binary files /dev/null and b/out/production/proxy/org/proxy/Main$1.class differ diff --git a/out/production/proxy/org/proxy/Main$2.class b/out/production/proxy/org/proxy/Main$2.class new file mode 100644 index 0000000..bd7b4ce Binary files /dev/null and b/out/production/proxy/org/proxy/Main$2.class differ diff --git a/out/production/proxy/org/proxy/Main$3.class b/out/production/proxy/org/proxy/Main$3.class new file mode 100644 index 0000000..fda1d73 Binary files /dev/null and b/out/production/proxy/org/proxy/Main$3.class differ diff --git a/out/production/proxy/org/proxy/Main$4.class b/out/production/proxy/org/proxy/Main$4.class new file mode 100644 index 0000000..dbf668c Binary files /dev/null and b/out/production/proxy/org/proxy/Main$4.class differ diff --git a/out/production/proxy/org/proxy/Main.class b/out/production/proxy/org/proxy/Main.class new file mode 100644 index 0000000..14c668e Binary files /dev/null and b/out/production/proxy/org/proxy/Main.class differ diff --git a/out/production/proxy/org/proxy/loadConfig.class b/out/production/proxy/org/proxy/loadConfig.class new file mode 100644 index 0000000..343d0a1 Binary files /dev/null and b/out/production/proxy/org/proxy/loadConfig.class differ