Jump to content

ADD EXPIRY DATE IN SCRIPT (cannot be bypassed by changing device date)


Guest ATP-RAY2OP
 Share

Recommended Posts

Guest ATP-RAY2OP

There are 2 methods to put script expiry 

1st is os.clock() method to get current date of device, it is offline so can be easily bypassed by changing device date. 

2nd my method is online method using html date header, it cannot be bypassed 

 

Put the following code at top of your script (and change expiry date)

Date=15       -- Expiry date
Month=5       -- Expiry month 
Year=2020     -- Expiry year
expiremessage="Script has expired. New version available"  --Expiry message 
--This script will expire on 15/05/2020

--Do not change below code 
function check(t) 
if t<10 then t="0"..t end
return t
end
expiredate=Year.. check(Month).. check(Date)
date=gg.makeRequest("http://www.guimp.com").headers["Date" ][1]  --guimp.com is smallest webpage so takes less time for loading 
month={"Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"}
for i=1,12 do
 if month[i]==string.sub(date,9, 11) then
      if i<10 then
       i="0"..i 
      end 
 currentdate=string.sub(date,13, 16)..i..string.sub(date,6, 7)  
 end
end
if tonumber(currentdate)>=tonumber(expiredate) then gg.alert(expiremessage) os.exit() end 
-- Your script code below

 

Edited by ATP-RAY2OP
Link to comment
Share on other sites

8 minutes ago, ATP-RAY2OP said:

There are 2 methods to put script expiry 

1st is os.clock() method to get current date of device, it is offline so can be easily bypassed by changing device date. 

2nd my method is online method using html date header, it cannot be bypassed 

 

Put the following code at top of your script (and change expiry date)


Date=15       -- Expiry date
Month=5       -- Expiry month 
Year=2020     -- Expiry year
expiremessage="Script has expired. New version available"  --Expiry message 
--This script will expire on 15/05/2020

--Do not change below code 
function check(t) 
if t<10 then t="0"..t end
return t
end
expiredate=Year.. check(Month).. check(Date)
date=gg.makeRequest("http://www.guimp.com").headers["Date" ][1]  --guimp.com is smallest webpage so takes less time for loading 
month={"Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"}
for i=1,12 do
 if month[i]==string.sub(date,9, 11) then
      if i<10 then
       i="0"..i 
      end 
 currentdate=string.sub(date,13, 16)..i..string.sub(date,6, 7)  
 end
end
if tonumber(currentdate)>=tonumber(expiredate) then gg.alert(expiremessage) os.exit() end 
-- Your script code below

 

Very easy bypass syntax in script, All your code in script easy to crack.

Your hand can make anything what you want.

No System Is Safe.

Link to comment
Share on other sites

Guest ATP-RAY2OP
2 hours ago, HEROGAMEOfficial said:

Very easy bypass syntax in script, All your code in script easy to crack.

Your hand can make anything what you want.

No System Is Safe.

Well no script is safe, but it prevents the most usual way to bypass expiry that is to change date of device. 

For normal users binary script itself is tough job 🙂

Link to comment
Share on other sites

  • 4 weeks later...
On 5/12/2020 at 6:41 AM, ATP-RAY2OP said:

There are 2 methods to put script expiry 

1st is os.clock() method to get current date of device, it is offline so can be easily bypassed by changing device date. 

2nd my method is online method using html date header, it cannot be bypassed 

 

Put the following code at top of your script (and change expiry date)


Date=15       -- Expiry date
Month=5       -- Expiry month 
Year=2020     -- Expiry year
expiremessage="Script has expired. New version available"  --Expiry message 
--This script will expire on 15/05/2020

--Do not change below code 
function check(t) 
if t<10 then t="0"..t end
return t
end
expiredate=Year.. check(Month).. check(Date)
date=gg.makeRequest("http://www.guimp.com").headers["Date" ][1]  --guimp.com is smallest webpage so takes less time for loading 
month={"Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"}
for i=1,12 do
 if month[i]==string.sub(date,9, 11) then
      if i<10 then
       i="0"..i 
      end 
 currentdate=string.sub(date,13, 16)..i..string.sub(date,6, 7)  
 end
end
if tonumber(currentdate)>=tonumber(expiredate) then gg.alert(expiremessage) os.exit() end 
-- Your script code below

 

You can try my encryption its included online checking of date if script allowed acces internet.

🆕 Simple encrypt lua script. (#9fntzr0h)

 

Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...
  • 3 months later...
On 12/11/2020 at 1:31 PM, Rajeeb said:

Not me 😕

i am using elgg for protection but someone decrypted my script so its same thing.

He also show me screen shot of decrypted script and I am pretty sure its mine

Why e just not send full script to you ? I think he is lying.

Link to comment
Share on other sites

On 12/14/2020 at 5:41 PM, Fallen_Stress said:

Why e just not send full script to you ? I think he is lying.

I saw screenshot its not fully decrypted but almost 90% decrypted and why you need full decrypted script when you can get all values from 90% decrypted script 🙂

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.