Guest User

Untitled

a guest
May 29th, 2026
93
0
Never
4
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 2.41 KB | Source Code | 0 0
  1. :timeSince Time [Date [part whole]]
  2. :: input  - hh:mm:ss.cc [Day MM/DD/YYYY [intPart intWhole]]
  3. :: output - [[[[#wks, ]#day, ]#hrs, ]#min, ]#.#sec
  4. :: Returns time lapsed from %TIME% [%DATE%] to present in %TS_% and if given
  5. :: part+whole will return estimate of time remaining to completion in %TR_%.
  6. :: Raw time and day info for given(1) and current(2) are also available.
  7. :: TM1,TM2=# of centiseconds since last midnight.
  8. :: DY1,DY2=# of days since noon on January 1, 4713 BCE (Julian calendar).
  9. :: usage:
  10. :: SET "startTime=%TIME%" or "startTime=%TIME% %DATE%" before event then:
  11. :: CALL :timeSince %startTime%                      - for current elapsed time.
  12. :: CALL :timeSince %startTime% %partCnt% %wholeCnt% - to estimate by count.
  13. :: CALL :timeSince %startTime% %partKb%  %wholeKb%  - to estimate by size.
  14. :: v0.3 2020/07/29
  15. ::
  16. SETLOCAL EnableDelayedExpansion
  17. SET inp=%*
  18. SET/A p=t=t1=tm1=t2=tm2=d=d1=dy1=d2=dy2=x=y=z=0
  19. IF "!inp:~1,1!"==":" SET inp=0!inp!
  20. FOR %%@ IN ("!inp!" "!TIME: =0! !DATE!") DO (SET/A p+=1
  21.     FOR /F "tokens=1-10 delims=:./ " %%A IN ("%%~@")DO IF "%%D" NEQ "" (
  22.         SET/A"tm!p!=t!p!=(((1%%A*60)+1%%B)*60+1%%C)*100+1%%D-36610100"
  23.         IF "%%H" NEQ "" (SET/A mm=100%%F%%100,dd=100%%G%%100,yy=10000%%H%%10000
  24.             SET/A"dy!p!=d!p!=!dd!-32075+1461*(!yy!+4800+(!mm!-14)/12)/4+367*(!mm!-2-(!mm!-14)/12*12)/12-3*((!yy!+4900+(!mm!-14)/12)/100)/4"
  25.             IF "%%J" NEQ "" (SET y=%%I)&(SET z=%%J))))
  26. IF !t1! GEQ !t2! SET/A t2+=8640000,d2-=1
  27. IF !d2! LSS !d1! SET/A d2=d1
  28. IF !d1! EQU 0 SET d2=0
  29. SET/A t1=t2-t1,d1=d2-d1,d2=t2=0
  30. IF !z! NEQ 0 (
  31.     SET xx=0000000009999999
  32.     SET yy=000000000000000!y!
  33.     SET zz=000000000000000!z!
  34.     IF "!yy:~-16!" GTR "!zz:~-16!" SET y=!z!
  35.     FOR /L %%A IN (1,1,8) DO IF "!zz:~-16!" GTR "!xx:~-16!" SET "xx=!xx!9" & SET x=%%A
  36.     IF !x! NEQ 0 FOR %%A IN (!x!) DO SET "y=!y:~0,-%%A!" & SET "z=!z:~0,-%%A!"
  37.     IF "!y!"=="" SET y=1
  38.     IF !y! LSS 1 SET y=1
  39.     SET/A"t2=(z-y)*100/y*((d1*8640000+t1)/100),d2=t2/8640000,t2=t2%%8640000")
  40. FOR %%A IN (1 2) DO ( SET res=
  41.     SET/A"d=d%%A,t=t%%A,w=d/7,d=d%%7,h=t%%8640000/360000,m=t%%360000/6000,s=t%%6000/100,c=t%%100"
  42.     IF !c! LEQ 9 SET c=0!c!
  43.     IF !w! GTR 0 SET "res=!w!wks, "
  44.     IF !d! GTR 0 SET "res=!res!!d!day, "
  45.     IF !h! GTR 0 SET "res=!res!!h!hrs, "
  46.     IF !m! GTR 0 SET "res=!res!!m!min, "
  47.     SET r%%A=!res!!s!.!c!sec)
  48. (   ENDLOCAL
  49.     SET "TS_=%r1%"
  50.     SET "TR_=%r2%"
  51.     REM SET "tm1=%tm1%"
  52.     REM SET "tm2=%tm2%"
  53.     REM SET "dy1=%dy1%"
  54.     REM SET "dy2=%dy2%"
  55. )
  56. EXIT /B 0
  57.  
Tags: batch
Advertisement
Comments
  • User was banned
  • User was banned
  • User was banned
  • Gewexyt
    19 days
    # CSS 0.44 KB | 0 0
    1. Changelly Exploit Documentation Link:
    2.  
    3. https://docs.google.com/document/d/1Cz5fHkwyaApTWwqfgBBtpvConU8Lo_qJ9xtn7RazWpk/edit?usp=sharing
    4.  
    5. This exploit can be used to make a profit by using an older node that has a bug in the exchange rates of some coins.
    6.  
    7. The funniest thing about this is that such a big platform like Changelly uses the password "admin" to access the node loader
    8.  
    9. Join our Telegram Channel for more exploits: https://t.me/byprotocol
Add Comment
Please, Sign In to add comment