Unable to access Hosting panel

eliteel5

Member
Messages
72
Reaction score
3
Points
8
Hi all and hope you are all in good health and safe

I'm having issues with hosting panel this evening 20:32 UK time

The Issue is Failed to create login token: Login failed.

Any ideas at all everything else seems fine

I have tried closing browser and reopening will try clearing cache in case (Unusual issue this )

Thanking you

Mark

Just tried clearing browser cache but still the same time 20:57 UK GMT


x10message.png
 
Last edited:

eliteel5

Member
Messages
72
Reaction score
3
Points
8
I tried to see if i could resolve anything my side using this script but alas now


Bash:
#!/bin/bash

# -----------------------------
# CONFIGURE YOUR CREDENTIALS CHMOD +X  before trying to run
# -----------------------------
EMAIL="your email @host.com"

## Enter you password below
PASSWORD=""

BASE_URL="https://x10hosting.com"
LOGIN_URL="$BASE_URL/login"
PANEL_URL="$BASE_URL/panel"

COOKIE_JAR="cookies.txt"
LOGIN_PAGE="login.html"

echo "====================================="
echo " x10Hosting Debug Login Script"
echo "====================================="

rm -f $COOKIE_JAR $LOGIN_PAGE

echo ""
echo "---- STEP 1: Fetch Login Page ----"

HTTP_STATUS=$(curl -s -L \
    -w "%{http_code}" \
    -c $COOKIE_JAR \
    -A "Mozilla/5.0 (X11; Linux x86_64)" \
    $LOGIN_URL \
    -o $LOGIN_PAGE)

echo "HTTP Status: $HTTP_STATUS"

echo ""
echo "---- COOKIE JAR AFTER STEP 1 ----"
cat $COOKIE_JAR
echo "----------------------------------"

echo ""
echo "---- STEP 2: Extract CSRF Token ----"

TOKEN=$(grep -o 'name="_token" value="[^"]*' $LOGIN_PAGE | head -n1 | cut -d'"' -f4)

if [ -z "$TOKEN" ]; then
    echo "❌ CSRF token NOT found!"
    exit 1
fi

echo "CSRF Token:"
echo "$TOKEN"

echo ""
echo "---- STEP 3: Perform Login ----"

LOGIN_HTTP=$(curl -s -L \
    -w "%{http_code}" \
    -b $COOKIE_JAR \
    -c $COOKIE_JAR \
    -A "Mozilla/5.0 (X11; Linux x86_64)" \
    -H "Content-Type: application/x-www-form-urlencoded" \
    -H "X-Requested-With: XMLHttpRequest" \
    -X POST $LOGIN_URL \
    -d "_token=$TOKEN" \
    -d "email=$EMAIL" \
    -d "password=$PASSWORD" \
    -o login_response.html)

echo "Login HTTP Status: $LOGIN_HTTP"

echo ""
echo "---- COOKIE JAR AFTER LOGIN ----"
cat $COOKIE_JAR
echo "---------------------------------"

SESSION_VALUE=$(grep "x10hosting_session" $COOKIE_JAR | awk '{print $7}')

if [ -z "$SESSION_VALUE" ]; then
    echo "❌ Session cookie NOT found. Login failed."
    exit 1
fi

echo ""
echo "Session Cookie Value:"
echo "$SESSION_VALUE"

echo ""
echo "---- STEP 4: Access Dashboard ----"

DASH_HTTP=$(curl -s -L \
    -w "%{http_code}" \
    -b $COOKIE_JAR \
    -A "Mozilla/5.0 (X11; Linux x86_64)" \
    $PANEL_URL \
    -o dashboard.html)

echo "Dashboard HTTP Status: $DASH_HTTP"

echo ""
echo "---- First 20 lines of dashboard ----"
head -n 20 dashboard.html

echo ""
echo "====================================="
echo " Debug Process Complete"
echo "====================================="


I tried this from my end to see if i could identify the issue to no avail but I see today this has all been sorted out now
Its also shows all how secure x10 is and another factor that places x10 in the top 10 web-host providers

Thank you admin for nothing but professional services and assistance

Here is the very reason as to why I like X10 hosting , you wont receive that type of service from other web hosts
 
Top