Skip to content

need help about config #5

Description

@YasefDogan

gençlik ve spğr bakanliginin kyk yurtlarındaki wifi ye otomatık giriş yapabilmek için kullanmak istiyorum. ancak basarılı olamadım. username yerıne j_username yazıyordu confıg de de J_ username olacak hale getırdım ancak basarılı sekılde calıstıramadım. log lar ise su sekılde


logs

(2025-03-04 01:40:36) Connected to GSBWIFI but internet is down. Sending the request in 5 seconds...
(2025-03-04 01:40:44) Request failed with error: HTTPSConnectionPool(host='wifi.gsb.gov.tr', port=443): Max retries exceeded with url: /login.html?error=true (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x0000018259CF4EF0>: Failed to establish a new connection: [Errno 11002] Temporary failure in name resolution')).
If you are using a VPN, please disable it for now. Trying to reconnect to the network... (Errors: 1/10)
(2025-03-04 01:41:06) Connected to GSBWIFI but internet is down. Sending the request in 5 seconds...
(2025-03-04 01:41:13) Request failed with error: HTTPSConnectionPool(host='wifi.gsb.gov.tr', port=443): Max retries exceeded with url: /j_spring_security_check (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x0000018259CF6D20>: Failed to establish a new connection: [Errno 11002] Temporary failure in name resolution')).
If you are using a VPN, please disable it for now. Trying to reconnect to the network... (Errors: 2/10)
(2025-03-04 01:41:35) Connected to GSBWIFI but internet is down. Sending the request in 5 seconds...
(2025-03-04 01:41:43) Request was successful. Checking the internet connection in 15 seconds...
(2025-03-04 01:42:04) Even the request was successful, there is still no internet connection. There might be a problem with your network. If you are using a VPN, please check your VPN connection. Giving it some time and checking again in 60 seconds... (Request Again: 1/3)
(2025-03-04 01:42:22) Connected to GSBWIFI but internet is down. Sending the request in 5 seconds...
(2025-03-04 01:42:30) Request was successful. Checking the internet connection in 15 seconds...
(2025-03-04 01:42:46) Even the request was successful, there is still no internet connection. There might be a problem with your network. If you are using a VPN, please check your VPN connection. Giving it some time and checking again in 60 seconds... (Request Again: 1/3)
(2025-03-04 01:43:08) Even the request was successful, there is still no internet connection. There might be a problem with your network. If you are using a VPN, please check your VPN connection. Giving it some time and checking again in 60 seconds... (Request Again: 2/3)
(2025-03-04 01:43:52) Even the request was successful, there is still no internet connection. There might be a problem with your network. If you are using a VPN, please check your VPN connection. Giving it some time and checking again in 60 seconds... (Request Again: 2/3)
(2025-03-04 01:44:14) Even the request was successful, there is still no internet connection. There might be a problem with your network. If you are using a VPN, please check your VPN connection. Giving it some time and checking again in 60 seconds... (Request Again: 3/3)
(2025-03-04 01:44:53) Even the request was successful, there is still no internet connection. There might be a problem with your network. If you are using a VPN, please check your VPN connection. Giving it some time and checking again in 60 seconds... (Request Again: 3/3)
(2025-03-04 01:45:21) Connected to GSBWIFI but internet is down. Sending the request in 5 seconds...
(2025-03-04 01:45:26) Request failed with error: HTTPSConnectionPool(host='wifi.gsb.gov.tr', port=443): Max retries exceeded with url: /j_spring_security_check (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x0000018259CF67E0>: Failed to establish a new connection: [Errno 11002] Temporary failure in name resolution')).
If you are using a VPN, please disable it for now. Trying to reconnect to the network... (Errors: 1/10)
(2025-03-04 01:45:48) Connected to GSBWIFI but internet is down. Sending the request in 5 seconds...
(2025-03-04 01:46:00) Connected to GSBWIFI but internet is down. Sending the request in 5 seconds...
(2025-03-04 01:46:06) Request failed with error: HTTPSConnectionPool(host='wifi.gsb.gov.tr', port=443): Max retries exceeded with url: /login.html?error=true (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x0000018259D2CB00>: Failed to establish a new connection: [Errno 11002] Temporary failure in name resolution')).
If you are using a VPN, please disable it for now. Trying to reconnect to the network... (Errors: 2/10)
(2025-03-04 01:46:08) Request failed with error: HTTPSConnectionPool(host='wifi.gsb.gov.tr', port=443): Max retries exceeded with url: /login.html?error=true (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x00000225A92F9580>: Failed to establish a new connection: [Errno 11002] Temporary failure in name resolution')).
If you are using a VPN, please disable it for now. Trying to reconnect to the network... (Errors: 1/10)
(2025-03-04 01:46:28) Connected to GSBWIFI but internet is down. Sending the request in 5 seconds...
(2025-03-04 01:46:30) Connected to GSBWIFI but internet is down. Sending the request in 5 seconds...
(2025-03-04 01:46:35) Request was successful. Checking the internet connection in 15 seconds...
(2025-03-04 01:46:37) Request was successful. Checking the internet connection in 15 seconds...
(2025-03-04 01:46:53) Even the request was successful, there is still no internet connection. There might be a problem with your network. If you are using a VPN, please check your VPN connection. Giving it some time and checking again in 60 seconds... (Request Again: 1/3)
(2025-03-04 01:46:56) Even the request was successful, there is still no internet connection. There might be a problem with your network. If you are using a VPN, please check your VPN connection. Giving it some time and checking again in 60 seconds... (Request Again: 1/3)


headers

Request URL:
https://wifi.gsb.gov.tr/j_spring_security_check
Request Method:
POST
Status Code:
302 Found
Remote Address:
10.106.7.45:443
Referrer Policy:
strict-origin-when-cross-origin
connection:
close
content-length:
0
content-type:
text/plain; charset=UTF-8
date:
Mon, 03 Mar 2025 22:55:33 GMT
location:
https://wifi.gsb.gov.tr/
server:
KYK Server
set-cookie:
JSESSIONID=C4317E1372EF9097D45C3CF9491F94CE; Path=/; HttpOnly
accept:
text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,/;q=0.8
accept-encoding:
gzip, deflate, br, zstd
accept-language:
tr-TR,tr;q=0.9,en-US;q=0.8,en;q=0.7
cache-control:
max-age=0
connection:
keep-alive
content-length:
58
content-type:
application/x-www-form-urlencoded
cookie:
BIGipServerpool_cps_portal=!AMMqWgcI8+q0LCssp3zkg0cLUoie9J0K1LI25tQDBTY0lKS3zqXaW933LWmbQwUSAbQwXe7aIBKXVu6KlAG7YqxPbhp/SKMHV6yifmO5; JSESSIONID=0F12E8B6F89D3D29D03A05D2DAABED90
host:
wifi.gsb.gov.tr
origin:
https://wifi.gsb.gov.tr
referer:
https://wifi.gsb.gov.tr/login.html?error=true
sec-ch-ua:
"Not(A:Brand";v="99", "Brave";v="133", "Chromium";v="133"
sec-ch-ua-mobile:
?0
sec-ch-ua-platform:
"Windows"
sec-fetch-dest:
document
sec-fetch-mode:
navigate
sec-fetch-site:
same-origin
sec-fetch-user:
?1
sec-gpc:
1
upgrade-insecure-requests:
1
user-agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36


payload

j_username: 12345678900
j_password: Yasef
submit: Login

or

j_username: 12345678900
j_password: Yasef
submit: Giriş


my config is like that is there anythıng unusual??


{
"profiles": [
{
"name": "GSBWIFI",
"ssid": "GSBWIFI",
"url": "https://wifi.gsb.gov.tr/j_spring_security_check",
"internet_check_url": "8.8.8.8",
"payload": {
"j_username":"12345678900",
"j_password":"Yasef",
"submit":"Login"

        },
        "headers": {
            "Content-Type": "application/json;charset=UTF-8",
            "Connection": "keep-alive",
            "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.3"
        },
        "check_every_second": 600,
        "dialog_geometry": {
            "width": 1024,
            "height": 500
        }
    },
    {
        "name": "Example ETHERNET",
        "url": "http://10.3.41.15:8002/index.php?zone=dormnet",
        "payload": "&auth_user=85795013%40myschool.com&auth_pass=123455678&redirurl=&accept=Login",
        "internet_check_url": "8.8.8.8",
        "headers": {
            "Content-Type": "application/x-www-form-urlencoded",
            "Connection": "keep-alive",
            "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36 Edg/118.0.2088.69"
        },
        "check_every_second": 600,
        "dialog_geometry": {
            "width": 1024,
            "height": 500
        }
    }
]

}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions