Clutch152 / scripts

Collection of scripts for the lazy ... >.>
162 stars 78 forks source link

TARP Script Failed. #42

Open clarkhacks opened 3 years ago

clarkhacks commented 3 years ago

Tried in IE, Edge, and Chrome. I know how to use these and have success with the other codes. The console outputs true statement, clearly it's setting certain variables to true, but closing the window, and allowing to print a cert fail.

wovasteenGova commented 3 years ago

How do you use the ones. Ill do the tarp later. I think ill have my bud look at the other ones but how do do the other ones ur talking about.

Naddox commented 3 years ago

Script still doesn't work. Trying in Chrome, executing the script in the console returns this error:

Uncaught ReferenceError: lmsManager is not defined at :3:1

image

DonnyDgaming commented 3 years ago

Has this been figured out yet? I’m getting the same issue on infosec as well

wovasteenGova commented 3 years ago

Internet explorer.

Also to get the time. Place this at first line. window.opener.scorm.set("cmi.session_time","PT1H30M47S")

No: ; Make sure to push this to the main code.

This line will make the session time whatever you want. Edit the numbers to change it. Please give me credit I'm on deployment and is limited to my computer time. I can't make the PR.

BUT yes try internet explorer. It worked for me on Chrome. But maybe not for you.

On Fri, Apr 23, 2021, 10:39 DonnyDgaming @.***> wrote:

Has this been figured out yet? I’m getting the same issue on infosec as well

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Clutch152/scripts/issues/42#issuecomment-825779317, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIFK3RBPZYPOG3KL445MBP3TKGPD7ANCNFSM4UOTC2RA .

perty2219 commented 3 years ago

Internet explorer. Also to get the time. Place this at first line. window.opener.scorm.set("cmi.session_time","PT1H30M47S") No: ; Make sure to push this to the main code. This line will make the session time whatever you want. Edit the numbers to change it. Please give me credit I'm on deployment and is limited to my computer time. I can't make the PR. BUT yes try internet explorer. It worked for me on Chrome. But maybe not for you. On Fri, Apr 23, 2021, 10:39 DonnyDgaming @.***> wrote: Has this been figured out yet? I’m getting the same issue on infosec as well — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#42 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIFK3RBPZYPOG3KL445MBP3TKGPD7ANCNFSM4UOTC2RA .

//Navigate to top level lesson and execute.

window.opener.scorm.set("cmi.session_time","PT1H30M47S") lmsManager.setValue("cmi.completion_status", "completed"); lmsManager.setValue("cmi.success_status", "passed"); lmsManager.setValue("adl.nav.request", "exitAll");

something like this?

wovasteenGova commented 3 years ago

I think we are talking about two different things. This is how I got my DLC done, (through alms)

Wait till the course loads. Then go to inspect > console and paste:

window.opener.scorm.set("cmi.session_time","PT1H30M47S") window.opener.scorm.set("cmi.completion_status","completed"); window.opener.scorm.set("cmi.success_status","passed"); window.opener.scorm.set("cmi.score.raw",90); window.opener.scorm.set("cmi.score.scaled",0.9); window.opener.scorm.commit(); window.close();

Make sure to edit the time like I stated before.

On Sun, Apr 25, 2021, 17:09 perty2219 @.***> wrote:

Internet explorer. Also to get the time. Place this at first line. window.opener.scorm.set("cmi.sessiontime","PT1H30M47S") No: ; Make sure to push this to the main code. This line will make the session time whatever you want. Edit the numbers to change it. Please give me credit I'm on deployment and is limited to my computer time. I can't make the PR. BUT yes try internet explorer. It worked for me on Chrome. But maybe not for you. … <#m-7218943496906731921_> On Fri, Apr 23, 2021, 10:39 DonnyDgaming @.***> wrote: Has this been figured out yet? I’m getting the same issue on infosec as well — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#42 (comment) https://github.com/Clutch152/scripts/issues/42#issuecomment-825779317>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIFK3RBPZYPOG3KL445MBP3TKGPD7ANCNFSM4UOTC2RA .

//Navigate to top level lesson and execute.

lmsManager.setValue("cmi.completion_status", "completed"); lmsManager.setValue("cmi.success_status", "passed"); lmsManager.setValue("adl.nav.request", "exitAll");

something like this?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Clutch152/scripts/issues/42#issuecomment-826404957, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIFK3RDT2U5HZZW6ZUMRWNTTKSOMNANCNFSM4UOTC2RA .

ihatearmyDL commented 3 years ago

I get this error:

Unable to get property 'set' of undefined or null reference

I edited the time to be 1H29M48S but no dice. And which is the "top level" course? I tried it in the following places: when I launched in ALMS it gives you a message with a button to launch on a diff site, I tried it there, then it opened that site and it said launch on that site, I tried it there, and then I tried it again when it actually finally launched the course.

MSIE

wovasteenGova commented 2 years ago

Use the code I sent, I never did anything with 'set'. So I can't help you there.

But for the time, make sure it's above 2h, for some reason, the 2h is converted into 1h.

On Thu, May 13, 2021, 13:47 ihatearmyDL @.***> wrote:

I get this error:

Unable to get property 'set' of undefined or null reference

I edited the time to be 1H29M48S but no dice. And which is the "top level" course? I tried it in the following places: when I launched in ALMS it gives you a message with a button to launch on a diff site, I tried it there, then it opened that site and it said launch on that site, I tried it there, and then I tried it again when it actually finally launched the course.

MSIE

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Clutch152/scripts/issues/42#issuecomment-840477372, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIFK3RHAANH7QADEK5FLSILTNOU2LANCNFSM4UOTC2RA .