Skip to content

Commit

Permalink
Should ensure we do user checking in the registration portion as well…
Browse files Browse the repository at this point in the history
…, otherwise anyone could rebuild and abuse this portion
  • Loading branch information
mastacontrola committed Aug 2, 2024
1 parent 3b6033f commit a555114
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Buildroot/board/FOG/FOS/rootfs_overlay/bin/fog.man.reg
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ done
dots "Attempting to register host"
res=""
while [[ -z $res ]]; do
res=$(curl -Lks --data "sysuuid=${sysuuid}&mac=$mac&advanced=$(echo -n 1 | base64)&host=$host&imageid=$imageid&primaryuser=$primaryuser&other1=$other1&other2=$other2&doimage=$realdoimage&doad=$blDoAD&location=$location64&username=$user64&groupid=$group64&snapinid=$snapin64&productKey=$productKey" ${web}service/auto.register.php 2>/dev/null)
res=$(curl -Lks --data "sysuuid=${sysuuid}&mac=$mac&advanced=$(echo -n 1 | base64)&host=$host&imageid=$imageid&primaryuser=$primaryuser&other1=$other1&other2=$other2&doimage=$realdoimage&doad=$blDoAD&location=$location64&username=$user64&password=$pass64&groupid=$group64&snapinid=$snapin64&productKey=$productKey" ${web}service/auto.register.php 2>/dev/null)
echo "$res"
usleep 2000000
done
Expand Down

0 comments on commit a555114

Please sign in to comment.