ããã«ã¡ã¯ãHabrïŒ æé远跡ã·ã¹ãã ã®ãã¹ãçµæãå ±æãããã
ç§ãã¡ã®å± å¿å°ã®è¯ããã€ãã¯äŒæ¥ã§ã¯ãåœå±ãåŽåæéãšåŸæ¥å¡ã®æå¹æ§ã管çããŸããã ãããŠããã®ãããªã·ã¹ãã ã®äœ¿çšãšæ©èœã®é©åæ§ã«ã€ããŠæ¯èŒãšçµè«ãæäŸããä»äºããããŸããã
ãã¡ãããç§ã¯è·å Žã§ãã®ãããªã·ã¹ãã ãç»å ŽããèŠéãã«ããŸãæºè¶³ããŠããŸããã§ããããªããªãã åŸæ¥å¡ã®ä»äºã¯ãæ£åŒãªææšã§ã¯ãªããçµæã«ãã£ãŠå€æãããã¹ãã ãšæããŸãã ç§ãåéããããŒã¿ãç¹ã«ã·ã¹ãã ãã€ãã¹ã®ãã¹ãçµæããç§ã®å Žæã«ããååããã®ãããªãœãªã¥ãŒã·ã§ã³ã®éå¹çæ§ãçµå¶è ã«çŽåŸãããã®ã«åœ¹ç«ã€ããšãé¡ã£ãŠããŸãã
ã·ã¹ãã ãã€ãã¹ã®ãã¹ãæ¹æ³
ãã¹ãŠã®ããã°ã©ã ã¯ãæåŸã«ãã¿ã³ãæŒããããŸãã¯ããŠã¹ãåãããŠããçµéããæéã«åŸã£ãŠãè·å Žã§ã®åŸæ¥å¡ã®ååšãè©äŸ¡ããŸãã äžéšã®äººã ã¯ãçç£æ§ãšéçç£æ§ã«åãããŠãåœæã©ã®ãããªããã°ã©ã ãã¢ã¯ãã£ãã§ãã£ãããèŠãŠããŸãã ã¹ã¯ãªãŒã³ã·ã§ãããæ®ã£ãããä»äºã®ãããªãé²ç»ããããã人ãããŸãã ããŠã¹ã«çµã³ä»ããããã«ããœãªã¯ç§ãã¡ã®æ¹æ³ã§ã¯ãªãããŠãŒã¶ãŒã¯ãã¹ãŠå é²çã§ãããããAutoItãæ¡çšãããå°ããªã¹ã¯ãªãããåå§ã§ã¯ãããå®éã®ä»äºãæš¡å£ããŠããŸããã誰ãããšãã©ãããã€ãã®ã¹ã¯ãªãŒã³ã·ã§ãããèŠãå Žåããã®äººã§ã¯ãªãã¹ã¯ãªãããæ©èœããŠããããšã«æ°ä»ãããšã¯éçŸå®çã§ãã ç¹ã«ãçµæ¥ã§ã¯ãªã20ã30åéã®è¿œå ã®äŒæ©ãå«ããå ŽåïŒã ã¯ããããã°ã©ã ã¯iexplore.exeãšããååã§ãéããŠããã¿ããšããã»ã¹ã®æ°ããã®ååã§æ¯èŒããŸãïŒã
ã¹ã¯ãªãã
SRandom(@MSEC) opt("MouseCoordMode",0) Sleep(3000) While true if random(0,3,1)=2 then Sleep(Random (1000,5000,1)) Send("{PGDN}") Else Sleep(Random (500,1500,1)) $aPos = MouseGetPos() MouseMove($aPos[0] + Random(300)-115, $aPos[1] + random(300)-110) $aPos = MouseGetPos() MouseMove($aPos[0] + Random(314)-117, $aPos[1] + random(310)-115,3) Sleep(Random (1000,5000,1)) EndIf WEnd
ã·ã¹ãã ãã¢ãŒãå®æœãããšããã¹ãæžã¿ã®ããã°ã©ã ã®ããã€ããAutoItã¹ã¯ãªããã®ã¢ã¯ã·ã§ã³ããŠãŒã¶ãŒã¢ã¯ã·ã§ã³ãšããŠèªèããªãããšãå€æããŸããã æå ã®ããŒããŠã§ã¢ã䜿çšããŠãŠãŒã¶ãŒã®äœæ¥ããšãã¥ã¬ãŒãããããšã決å®ãããŸããã äž»ãªæ¡ä»¶ã¯ãå®éã®ãã®ãšåæ§ã®æŽ»åã®æš¡å£ã§ããã ãã³ã«Arduino DueããŒããèŠã€ãããAutoItã®ã¹ã¯ãªããã«äŒŒãå°ããªããã°ã©ã ãäœæãããŸããã
ããã°ã©ã
#include <Keyboard.h> #include <Mouse.h> void setup() { Mouse.begin(); Keyboard.begin() ; } void loop() { delay(random(6000)+1000); if (random(0,4)==1) { Keyboard.write(0xD6); delay(random(4000)+4000); } else { Mouse.move(random(6)-3, random(6)-3, 0); delay(100); Mouse.move(random(6)-3, random(6)-3, 0); delay(random(2000)+2000); } }
ã ãããã¬ãã¥ãŒã
ã»ãã¥ãªãã£ãšæ©å¯æ§ã®ããã«ãã¯ã©ãŠãã«ããŒã¿ãåéãããªãã·ã§ã³ã¯èæ ®ãããŠããããå人ããŒã¿ãå ±æããæºåãã§ããŠããããã§ã¯ãªãããªã©ãšããã«èšããªããã°ãªããŸããã ãã®ãããã¬ãã¥ãŒã«ã¯ããŒã«ã«ããŒãžã§ã³ã®ã·ã¹ãã ã衚瀺ãããŸãã ããŒã«ã«ãµãŒããŒã宣èšãããŠãããããã¹ãçšã«ååŸã§ããªãã£ãã·ã¹ãã ã¯ããªã¹ãã®æåŸã«é 眮ãããŸãã ãããã®ãã©ã¡ãŒã¿ã¯å®¢èŠ³çã§ã¯ãªããããããŸããããªããªã ã枬å®ã§ã¯ãªãã調æ»ã®çµæã«åºã¥ããŠããŸãã
æ¯èŒã«è¿œå ããåºæºã¯æ¬¡ã®ãšããã§ãã
- ååã
- æ å ±æºã ãµã€ããçåã«é¢ããèšåã
- ä»äºã®åçã äœæ¥ã®äžè¬çãªèª¬æãããã³åéãããããŒã¿ã®è©³çŽ°ã
- æè»ãªã¹ã±ãžã¥ãŒã«ã æè»ãªã¹ã±ãžã¥ãŒã«ãªãã·ã§ã³ã ããšãã°ã17ãã20ãŸã§ã®8æãã10æ30åãŸã§ããã€ã§ã30ãã40åã®æŒé£ãæ¥ãŸããã
- äŒæã®ãªã¯ãšã¹ããäŒæã ã¬ããŒãã«ãŒãã æ¥ãäŒæãäŒæãåºåŒµãšããŠããŒã¯ããæ©èœ... OKã¢ã«ãŠã³ãã£ã³ã°çšã«ã·ã¹ãã ãçæããããã¥ã¡ã³ãã
- APIã®å¯çšæ§ã
- ã¬ããŒãã å©çšå¯èœãªã¬ããŒããšããããã©ã®çšåºŠæçã§ãããã
- ããã°ã©ã ãåäœããOSããã³ããŒã¿ããŒã¹ ã
- è¡å§ãšã®çµ±åã ãŠãŒã¶ãŒããã¹ã¯ãŒããå ¥åããå¿ èŠããããã©ãããã·ã¹ãã ãã³ã³ãã¥ãŒã¿ãŒã§äœæ¥ããŠãããŠãŒã¶ãŒãèªèãããã©ãããæ§æããæ¹æ³ã
- èšå® ã·ã¹ãã ãèµ·åããããã«èšå®ããå¿ èŠããããã®ã
- ãã«ããŠãŒã¶ãŒãã«ãã³ã³ãã¥ãŒã¿ãŒã¢ãŒãã ã·ã¹ãã ã¯ã1å°ã®ã³ã³ãã¥ãŒã¿ãŒç«¯æ«ãµãŒããŒäžã®è€æ°ã®ãŠãŒã¶ãŒãŸãã¯è€æ°ã®ã³ã³ãã¥ãŒã¿ãŒäžã®1人ã®ãŠãŒã¶ãŒã®äœæ¥ãèªèããæ¹æ³ãç¥ã£ãŠããŸããïŒ
- ã€ã³ã¿ãŒããããããã¯ãŒã¯ãä»ããŠäœæ¥ããŸãã ã¯ã©ã€ã¢ã³ããšãµãŒããŒéã§ããŒã¿ã転éããéã®æ¥ç¶ã®å ¬éãšæå·åã«é¢ããæ å ±ã NATèšå®ã
- çµ±èšãžã®ã¢ã¯ã»ã¹ã ãŠãŒã¶ãŒã«ç¬èªã®çµ±èšãžã®ã¢ã¯ã»ã¹ãæäŸããæ©èœãããã³ã¢ã¯ã»ã¹ãå¶éãã圹å²ãå²ãåœãŠãæ©èœã
- ã·ã¹ãã ããã€ãã¹ããŸãã ã¹ã¯ãªããã®ãã¹ãçµæã
- ãªãã¶ãŒããã«ã«ã€ããŠã ãŠãŒã¶ãŒãã¯ã©ã€ã¢ã³ããã³ã³ãã¥ãŒã¿ãŒã«ã€ã³ã¹ããŒã«ãããŠããããšã確èªããæ¹æ³ã
- äŸ¡æ Œ
- ããã°ã©ã ãŠã£ã³ããŠã®ã¹ã¯ãªãŒã³ã·ã§ããã ã¹ã¯ãªãŒã³ã·ã§ããã¯ãå€éã«åéãããçµ±èšã瀺ããŠããŸãããŠãŒã¶ãŒã®ã¢ã¯ã·ã§ã³ã¯ãã¹ã¯ãªããïŒãŸãã¯arduinoããŒãïŒã«ãã£ãŠã·ãã¥ã¬ãŒããããŠããŸãã
ãããã©ãŒ
www.kickidler.comhabrahabr.ru/company/kickidler
ä»äºã®åçã é ããšãŒãžã§ã³ããåŸæ¥å¡ã®ã³ã³ãã¥ãŒã¿ãŒã«ã€ã³ã¹ããŒã«ãããç»é¢ããã®ãããªãããŒã¹ãããŒã¯ãããã³å®è¡äžã®ã¢ããªã±ãŒã·ã§ã³ãèšé²ãããŸãã ã¢ããªã±ãŒã·ã§ã³ããšã«ãå¹çãèšå®ãããŸãã 管çè ã¯ããŠãŒã¶ãŒã®ã³ã³ãã¥ãŒã¿ãŒããªã¢ãŒãã§ç®¡çã§ããŸãã ã¡ã€ã³ããã°ã©ã ãŠã£ã³ããŠã¯ãåŸæ¥å¡ã¢ãã¿ãŒã®ãªã¢ã«ã¿ã€ã ãã¥ãŒã§ãã
æè»ãªã¹ã±ãžã¥ãŒã«ã ããã°ã©ã ã«ã¯ãã¹ã±ãžã¥ãŒã«ãèšå®ããæ©èœããããŸããã
äŒæäŒæã®ããã®ã¢ããªã±ãŒã·ã§ã³ã ã¬ããŒãã«ãŒãã ã¢ã«ãŠã³ãã£ã³ã°ã®ã¢ããªã±ãŒã·ã§ã³ãšã¬ããŒãã¯ãããŸããã
APIã®å¯çšæ§ã ãã
ã¬ããŒãã ã¬ããŒãã«ã¯ãæã䜿çšãããŠããããã°ã©ã ãšãµã€ãã衚瀺ãããŸãã ã¬ããŒãã¯æçã§ã¯ãªããåŸæ¥å¡ã®å€åã¹ã±ãžã¥ãŒã«ãå¶åŸ¡ããããã«ã¯èšèšãããŠããŸããã ã¬ããŒãã«ã¯ãã£ã«ã¿ãªã³ã°ããããŸãã åŸæ¥å¡ã®ã¢ãã¿ãŒã衚瀺ããå Žåãæ倧16å°ã®ã¢ãã¿ãŒãåæã«ç»é¢ã«é 眮ãããŸããããã¯ã倧äŒæ¥ã§åŸæ¥å¡ã®äœæ¥ããªã¢ã«ã¿ã€ã ã§ç£èŠããå¿ èŠãããå Žåã«åé¡ã«ãªããŸãã
OSããã³DBã KickidlerãµãŒããŒã¯ãWindowsããã³PostgreSQLããŒã¿ããŒã¹ã§å®è¡ãããŸãã Linuxçšã®ãµãŒããŒããŒãžã§ã³ããããŸãããæ©èœãå¶éãããŠããŸãã
è¡å§ãšã®çµ±åã ãã
èšå® ã·ã¹ãã ãæ©èœããããã«ã¯ããŠãŒã¶ãŒã®ã³ã³ãã¥ãŒã¿ãŒã«ãµãŒããŒãšãšãŒãžã§ã³ããã€ã³ã¹ããŒã«ããå¿ èŠããããŸãã èšé²ããããããªã«ã¢ã¯ã»ã¹ããã«ã¯ãåéãããããŒã¿ãç£èŠããåŸæ¥å¡ãã€ã³ã¹ããŒã«ããå¿ èŠãããå¥ã®Viewerããã°ã©ã ã䜿çšãããŸãã ã·ã¹ãã ãããŒã«ã«ã«å±éãããŠããå ŽåãããŒã«ã«ã©ã€ã»ã³ã¹ãµãŒããŒãå¿ èŠã§ãã
ãã«ããŠãŒã¶ãŒãã«ãã³ã³ãã¥ãŒã¿ãŒã¢ãŒãã èå¥ã¯ããŠãŒã¶ãŒåãšã¯ãŒã¯ã¹ããŒã·ã§ã³åã䜿çšããŠè¡ãããŸãã
ã€ã³ã¿ãŒããããããã¯ãŒã¯ãä»ããŠäœæ¥ããŸãã ããã°ã©ã ãæ©èœãããã«ã¯ãmy.kickidler.comã«ã¢ã¯ã»ã¹ããå¿ èŠããããŸããmy.kickidler.comãä»ããŠããµãŒããŒãã°ã©ããŒããã¥ãŒã¢ãŒãåæãããã©ã€ã»ã³ã¹ããã§ãã¯ãããŸãã ããŒã«ã«ã€ã³ã¹ããŒã«ã§ã¯ããã®ã¢ãã¬ã¹ã¯ããŒã«ã«ã©ã€ã»ã³ã¹ãµãŒããŒã«ã€ãªããå¿ èŠããããŸãã Sslã®ãµããŒããèŠæ±ãããŸããã
çµ±èšãžã®ã¢ã¯ã»ã¹ã ãŠãŒã¶ãŒã«èªå·±ç£èŠã®çµ±èšæ å ±ãžã®ã¢ã¯ã»ã¹ãèš±å¯ããããšã¯ã§ããŸããã çµ±èšããã³èšé²ããããããªãžã®ã¢ã¯ã»ã¹ã¯ããã¥ãŒã¢ããã°ã©ã ãä»ããŠè¡ãããŸãã Viewerãæ©èœãããã«ã¯ã管çããã«ã§ã¢ã¯ã»ã¹ãèš±å¯ãããŠãŒã¶ãŒãéžæããå¿ èŠããããŸãã
ã·ã¹ãã ããã€ãã¹ããŸãã ã¹ã¯ãªãããæ©èœããã¢ã¯ãã£ããã£ãèæ ®ãããŸãã ã©ã³ãã ãªäžæåæ¢ã䜿çšããããšã§ãã¢ã¯ãã£ããã£ã®ã¹ã±ãžã¥ãŒã«ãå€ãããŸãã ã¢ã¯ã·ã§ã³ãç¹°ãè¿ããŠåç»ãèŠèŽããŠããå Žåã«ã®ã¿ãã¹ã¯ãªããã®äœ¿çšã远跡ã§ããŸãããã®å Žåãã¹ã¯ãªããã®è€éåã圹ç«ã¡ãŸãã
ãªãã¶ãŒããã«ã«ã€ããŠã ãšãŒãžã§ã³ãã®ååšã¯ãããã»ã¹grabber.exeãgrabberAgent.exeãgrabberSubAgent.exeã®ã¿ã¹ã¯ãããŒãžã£ãä»ããŠå€æã§ããŸãã ããã©ã«ãã®ãã¹ã¯CïŒ\ Program FilesïŒx86ïŒ\ TeleLinkSoftHelperã§ãã
äŸ¡æ Œ ã¯ã©ãŠãããŒãžã§ã³ïŒ1人ã®åŸæ¥å¡ã«å¯ŸããŠ1ãæããã500ã«ãŒãã«ã åŸæ¥å¡ããã10,000ã«ãŒãã«ãæéå¶éãªãã ããŒã«ã«ããŒãžã§ã³ïŒãªã¯ãšã¹ãã«å¿ããäŸ¡æ Œã
ã¹ã¿ããã³ãã
www.staffcop.ruhabrahabr.ru/company/atompark_software
ä»äºã®åçã åŸæ¥å¡ã®ãã·ã³ã«ã¯é衚瀺ã®ãšãŒãžã§ã³ããã€ã³ã¹ããŒã«ãããã¢ã¯ãã£ããã£ãå®è¡äžã®ããã»ã¹ã蚪åãããµã€ããããŒã¹ãããŒã¯ããã¡ã€ã«ãžã®ã¢ã¯ã»ã¹ãéåä¿¡ãããé»åã¡ãŒã«ããã³ã€ã³ã¹ã¿ã³ãã¡ãã»ã³ãžã£ãŒã«é¢ããæ å ±ãåéããŸãã æå·åãããŠããªããããã³ã«ã䜿çšãããšãã¡ãŒã«ã®ååãå¯èœã§ãããµããŒããããŠããã¡ãã»ã³ãžã£ãŒãããã³ã«ã¯æ代é ãã§ãïŒICQãMSN MessengerãMail.ruãšãŒãžã§ã³ããªã©ïŒã å®æçã«ã¹ã¯ãªãŒã³ã·ã§ãããæ®ãããšãã§ããŸãã
æè»ãªã¹ã±ãžã¥ãŒã«ã ã¹ã±ãžã¥ãŒã«ãèšå®ããæ¹æ³ã¯ãããŸããã
äŒæäŒæã®ããã®ã¢ããªã±ãŒã·ã§ã³ã ã¬ããŒãã«ãŒãã ã¢ã«ãŠã³ãã£ã³ã°ã®ã¢ããªã±ãŒã·ã§ã³ãšã¬ããŒãã¯ãããŸããã
APIã®å¯çšæ§ã ãã
ã¬ããŒãã ã¬ããŒãã¯ãåéãããããŒã¿ã®çš®é¡ïŒã¹ã¯ãªãŒã³ã·ã§ãããããã»ã¹ãæ€çŽ¢ã¯ãšãªã蚪åããããŒãžãã¡ãã»ã³ãžã£ãŒã¡ãã»ãŒãžãããŒããŒãã®æŒäžãªã©ïŒã§åå²ãããŸãã æéãŸãã¯ããŒã¯ãŒãã«ãããã£ã«ã¿ãªã³ã°ããããŸãã ããã°ã©ã ã¯å€§éã®ããŒã¿ãåéããŸããããŠãŒã¶ãŒã®ã¢ã¯ã·ã§ã³ãç¬ç«ããŠè©äŸ¡ããããã§ã¯ãããŸããããã®ãããã¬ããŒãã«ååãªæ å ±ã³ã³ãã³ããå«ãŸããŠããŸããã
OSããã³DBã ãµãŒããŒã¯Windowsã§å®è¡ãããåçŽãªãã¡ã€ã«ããŒã¿ããŒã¹ã䜿çšããŸãã
è¡å§ãšã®çµ±åã ãã
èšå® ããã°ã©ã ã¯ãéçºè ã®ãµãŒããŒã«çžãããããšãªããå®è¡å¯èœãã¡ã€ã«ãšããŠé åžãããŸãã ãããã£ãŠãããã°ã©ã ãµãŒããŒã¯ããŒã«ã«ã«å±éãããŸãã ãšãŒãžã§ã³ãã¯ãªã¢ãŒãã§ã€ã³ã¹ããŒã«ã§ããŸã;ãã®ããã«ã¯ããªã¢ãŒããã·ã³ã«å¯Ÿãã管çè æš©éãå¿ èŠã§ãã ãšãŒãžã§ã³ããæåã§ã€ã³ã¹ããŒã«ãããå ŽåããµãŒããŒã¯ããŒã¿ã®åéå ã®ãã·ã³ã®IPã¢ãã¬ã¹ãæå®ããå¿ èŠããããŸãã
ãã«ããŠãŒã¶ãŒãã«ãã³ã³ãã¥ãŒã¿ãŒã¢ãŒãã çµ±èšã¯ã³ã³ãã¥ãŒã¿ãŒã§åéãããŸãã
ã€ã³ã¿ãŒããããããã¯ãŒã¯ãä»ããŠäœæ¥ããŸãã ãµãŒããŒã¯ãšãŒãžã§ã³ãããããŒã¿ãåéãããããåŸæ¥å¡ã®ã³ã³ãã¥ãŒã¿ãŒã¯NATã®èåŸã«ãã£ãŠã¯ãªããŸããã ãµãŒããŒãšãšãŒãžã§ã³ãéã®æ¥ç¶ã¯æå·åãããŠãããããã¢ã«ãŽãªãºã ã決å®ã§ããŸããã§ããã
çµ±èšãžã®ã¢ã¯ã»ã¹ã çµ±èšã¯ãµãŒããŒã¢ããªã±ãŒã·ã§ã³ã«è¡šç€ºãããŸãã Webã€ã³ã¿ãŒãã§ã€ã¹çµç±ã§ã¢ã¯ã»ã¹ã§ããŸããã åŸæ¥å¡ã«çµ±èšãžã®ã¢ã¯ã»ã¹ãèš±å¯ããããšã¯ã§ããŸããã
ã·ã¹ãã ããã€ãã¹ããŸãã StaffCopã¯ãAutoItã¹ã¯ãªããããŠãŒã¶ãŒã¢ã¯ã·ã§ã³ãšããŠèªèããŸããã§ããã ãã®ãããããŒããŒããšããŠã¹ããšãã¥ã¬ãŒãããArduinoããŒãã䜿çšããŠè¿åãè¡ãããŸããã
ãªãã¶ãŒããã«ã«ã€ããŠã ãšãŒãžã§ã³ãã®ååšã¯ãå®è¡äžã®ã¹ã±ãžã¥ãŒã©ãµãŒãã¹ã®ã¿ã¹ã¯ãããŒãžã£ãšSchedulerSVC.exeããã»ã¹ã䜿çšããŠå€æã§ããŸãã ãšãŒãžã§ã³ãã®ã€ã³ã¹ããŒã«ãã¹CïŒ\ Program FilesïŒx86ïŒ\ StaffCopã
äŸ¡æ Œ ã¯ã©ãŠãããŒãžã§ã³ã¯ãããŸããã ããŒã«ã«ããŒãžã§ã³ïŒ1ãŠãŒã¶ãŒ1300ã«ãŒãã«ãç¡å¶éã
ããã·ã¡
www.manictime.comä»äºã®åçã ã€ã³ã¹ããŒã«ããããšãŒãžã§ã³ãã¯ãPCããã³äœ¿çšãããŠããããã°ã©ã ïŒã°ã©ãã£ã«ã«ã·ã§ã«ã®ã¿ïŒããã³ãµã€ãã®çšŒåæéã«é¢ããããŒã¿ãåéããŸãã ãŸãããšãŒãžã§ã³ãã¯ã¹ã¯ãªãŒã³ã·ã§ãããæ®ãããšãã§ããŸãã
æè»ãªã¹ã±ãžã¥ãŒã«ã ã¹ã±ãžã¥ãŒã«ã¯ãéå§æå»ãšçµäºæå»ããŸãã¯1æ¥ãããã®åŽåæéæ°ã瀺ããŸãã è€æ°ã®ã¹ã±ãžã¥ãŒã«ãäœæã§ããŸãã
äŒæäŒæã®ããã®ã¢ããªã±ãŒã·ã§ã³ã ã¬ããŒãã«ãŒãã ã¢ããªã±ãŒã·ã§ã³ã¯ãããŸããããæéãããŒã¯ã§ããã¿ã°ããããŸãã 圌ãã®å©ããåããŠãäŒæ¥ãªã©ãããŒã¯ã§ããŸãã åŸæ¥å¡ãåããæ¥æ°ã衚瀺ããã¬ããŒããåºåžãããããŸãã
APIã®å¯çšæ§ã ãµãŒããŒããŒã¿ã«ã¢ã¯ã»ã¹ããŠæäœããã«ã¯ãHTTP APIã䜿çšã§ããŸãã
ã¬ããŒãã å€ãã®ã¬ããŒãã¯ãããŸããã ãããã¯ãäœæ¥æéïŒéå§/çµäºãåŠç...ïŒãããã³çç£æ§ïŒäœ¿çšãããWebãµã€ããããã°ã©ã ãããã¥ã¡ã³ããçç£æ§çµ±èšïŒã®2ã€ã®ã¿ã€ãã«åããããŸãã
OSããã³DBã ãµãŒããŒã¯Windowsäžã§å®è¡ãããŸãã ããã©ã«ãã¯SQLiteã§ãã å€æ°ã®ãŠãŒã¶ãŒïŒ5人以äž-éçºè ã®æšå¥šïŒã®å ŽåãPostgreSQLãŸãã¯Microsoft SQL Serverã䜿çšããå¿ èŠããããŸãã
è¡å§ãšã®çµ±åã ADãããŠãŒã¶ãŒã®ãªã¹ããååŸã§ããŸãã ããã«ããããŠãŒã¶ãŒåãæåã§æäœã§ããªããªããŸãã
èšå® ãµãŒããŒãã€ã³ã¹ããŒã«ãããšãã«ã䜿çšããããŒã¿ããŒã¹ãéžæããå¿ èŠããããŸãã ãµãŒããŒãã€ã³ã¹ããŒã«ããåã«DBMSãæ§æããå¿ èŠããããŸãïŒSQLiteãé€ãïŒã ãšãŒãžã§ã³ãã¯ãçµ±èšãéä¿¡ãããµãŒããŒã¢ãã¬ã¹ãæå®ããå¿ èŠããããŸãã
ãã«ããŠãŒã¶ãŒãã«ãã³ã³ãã¥ãŒã¿ãŒã¢ãŒãã ã·ã¹ãã ã¯ãã³ã³ãã¥ãŒã¿ãŒåãšãã°ã€ã³ã«ãã£ãŠãŠãŒã¶ãŒãèå¥ããŸãã
ã€ã³ã¿ãŒããããããã¯ãŒã¯ãä»ããŠäœæ¥ããŸãã ãµãŒããŒã«ã¢ã¯ã»ã¹ããã«ã¯ãéããŠããããŒã8080ãå¿ èŠã§ãïŒå€æŽå¯èœïŒã æ¥ç¶ãä¿è·ããã«ã¯ãhttpsãæå¹ã«ããŸããhttpsã§ã¯ã蚌ææžãèšå®ããããæšæºã®èšŒææžã䜿çšããå¿ èŠããããŸãã
çµ±èšãžã®ã¢ã¯ã»ã¹ã Webã€ã³ã¿ãŒãã§ãŒã¹ãä»ããŠåŸæ¥å¡ã«çµ±èšãžã®ã¢ã¯ã»ã¹ãæäŸããããšãã§ããŸãã ã¹ãã«ã¹ã¢ãŒãã§ãªãå Žåã¯ãã¯ã©ã€ã¢ã³ãã¢ããªã±ãŒã·ã§ã³ããå人統èšã«ãã¢ã¯ã»ã¹ã§ããŸãã éšéå šäœã®çµ±èšã«ã¢ã¯ã»ã¹ããæš©å©ãäžããããšãã§ããŸãã
ã·ã¹ãã ããã€ãã¹ããŸãã ã¯ããŒã«ã¹ã¯ãªãããæ©èœããã¢ã¯ãã£ããã£ãèæ ®ããããããã¹ã¯ãªããã®äœ¿çšã远跡ããããšã¯ã§ããŸããã
ãªãã¶ãŒããã«ã«ã€ããŠã éåžžã¢ãŒãã§ã¯ããšãŒãžã§ã³ãã¯ãã¬ã€ã«è¡šç€ºãããŸãã ãšãŒãžã§ã³ãããµã€ã¬ã³ãã¢ãŒãã®å Žåãã¿ã¹ã¯ãããŒãžã£ãä»ããŠãšãŒãžã§ã³ãã®ååšã確èªã§ããŸãã ãã®ããã»ã¹ã¯ManicTime ClientãšåŒã°ããæšæºã®ã€ã³ã¹ããŒã«ãã¹ã¯CïŒ\ Program FilesïŒx86ïŒ\ ManicTimeã§ãã
äŸ¡æ Œ äŸ¡æ Œã¯ãããŒã«ã«ããŒãžã§ã³ãšã¯ã©ãŠãããŒãžã§ã³ã§åãã§ãïŒãŠãŒã¶ãŒããã67ãã«ãç¡å¶éã
SkypeTime
skypetime.ruhabrahabr.ru/post/272701
ä»äºã®åçã SkypeTimeã¯ãSkype For BusinessãµãŒããŒããåŸæ¥å¡ã®ã¹ããŒã¿ã¹ããŒã¿ãååŸãããããåŸæ¥å¡ã®ãã·ã³ã«ãšãŒãžã§ã³ããã€ã³ã¹ããŒã«ããå¿ èŠã¯ãããŸããã ãã®æŠå¿µã«ãããåéãããããŒã¿ã®éã¯ãèæ ®ãããé¡äŒŒç©ã®éãããã¯ããã«å°ãªããªããŸããããã¯ãã³ã³ãã¥ãŒã¿ãŒã®åŸæ¥å¡ã®æéãšå ¥åãè¡ããããã·ã³ã®æéã§ãã
æè»ãªã¹ã±ãžã¥ãŒã«ã ã¹ã±ãžã¥ãŒã«ã¯ãå°±æ¥æ¥ã®éå§æå»ãšçµäºæå»ãããã³1æ¥ãããã®éåæéæ°ã瀺ããŸãã æŒäŒã¿ã®æéãšé 延æéã衚瀺ãããŸãã éšéãšåŸæ¥å¡ã®äž¡æ¹ã«èšå®ã§ããè€æ°ã®ã¹ã±ãžã¥ãŒã«ãäœæã§ããŸãã
äŒæäŒæã®ããã®ã¢ããªã±ãŒã·ã§ã³ã ã¬ããŒãã«ãŒãã åŸæ¥å¡ã¯ã管çè ãã¬ãã¥ãŒããã¢ããªã±ãŒã·ã§ã³ãäœæã§ããŸãã ã¢ã«ãŠã³ãã£ã³ã°ã®å Žåãæ¯æ¥ã®åŽåæéã瀺ããäœæ¥æéãã¬ããŒãããããŸãã
APIã®å¯çšæ§ã ãã
ã¬ããŒãã ã¬ããŒãã«ã¯ãåŸæ¥å¡ãšéšéã®åŽåæéãã€ãã³ãïŒé å»ãæ¬ å€ãæ©éïŒãåŸæ¥å¡ã®äŒæ¥ïŒäŒæ¥ãäŒæ¥ãç æ°ãªã©ïŒãã·ã¹ãã ãžã®ãã°ã€ã³ã«äœ¿çšãããããã€ã¹ããªã¢ãŒãã»ãã·ã§ã³ã«é¢ããæ å ±ã衚瀺ãããŸãã ã¬ããŒãã«ã¯ãã£ã«ã¿ãªã³ã°ããããŸãã
OSããã³DBã ããã°ã©ã ã¯Windowsäžã§MySQLããŒã¿ããŒã¹ã䜿çšããŠå®è¡ãããŸãã
è¡å§ãšã®çµ±åã Skype for BusinessãµãŒããŒã¯ADãšçµ±åãããŠãããããå¥éçµ±åããå¿ èŠã¯ãããŸããã
èšå® éå§ããã«ã¯ãWebãµãŒããŒã®ã€ã³ã¹ããŒã«ãSQL Serverã®ã€ã³ã¹ããŒã«ãSkype For BusinessããŒã¿ããŒã¹ãžã®èªã¿åãã¢ã¯ã»ã¹ã®æäŸãããŒã¿ããŒã¹ã®æ¡åŒµãããŒã¿ããŒã¹ãžã®ã¢ã¯ã»ã¹ã®æäŸããããªã±ãŒã·ã§ã³ã®æ§æãå¿ èŠã§ãã
ãã«ããŠãŒã¶ãŒãã«ãã³ã³ãã¥ãŒã¿ãŒã¢ãŒãã ã·ã¹ãã ã¯ãSkype For Businessãžã®ãã°ã€ã³ã«äœ¿çšããããã°ã€ã³ã«ãã£ãŠãŠãŒã¶ãŒãèªèããŸãã ãã°ã€ã³ãè¡ãããã³ã³ãã¥ãŒã¿ãŒã«é¢ããæ å ±ã¯ãçµ±èšã«è¡šç€ºãããŸãã
ã€ã³ã¿ãŒããããããã¯ãŒã¯ãä»ããŠäœæ¥ããŸãã å ¬éãèšå®ãããšãã«ãSSLãæå¹ã«ã§ããŸãã
çµ±èšãžã®ã¢ã¯ã»ã¹ã Webã€ã³ã¿ãŒãã§ãŒã¹ãä»ããŠåŸæ¥å¡ã«çµ±èšãžã®ã¢ã¯ã»ã¹ãæäŸããããšãã§ããŸãã éšéãããŒãžã£ãŒãä»»åœã§ããŸãã
ã·ã¹ãã ããã€ãã¹ããŸãã ã·ã¹ãã ããã€ãã¹ããã«ã¯ãã¹ã¯ãªãããŸãã¯arduinoã䜿çšããå¿ èŠã¯ãããŸããã Skypeã®ã¹ããŒã¿ã¹ãããªã³ã©ã€ã³ãã«ç¶æããã ãã§ååã§ãã è·å Žã§ã®äžåšã¯ãé»è©±ã«åºãããªãã£ãå Žåã«ã®ã¿è¿œè·¡ã§ããŸãã äžåšçä¿¡ã¯åŸæ¥å¡ã®å€åã¹ã±ãžã¥ãŒã«ã«è¡šç€ºãããåŸæ¥å¡ã®ä»äºã«å¯Ÿãããã泚ææ·±ãæ 床ã«ã€ãªããå¯èœæ§ããããŸãã
ãªãã¶ãŒããã«ã«ã€ããŠã ã¯ã©ã€ã¢ã³ãã¢ããªã±ãŒã·ã§ã³ãåŸæ¥å¡ã®ã³ã³ãã¥ãŒã¿ãŒã«ã€ã³ã¹ããŒã«ãããŠããªããããSkypeTimeã䜿çšãããŠãããã©ãããå€æã§ããŸããã
äŸ¡æ Œ äŸ¡æ Œã¯ããŠãŒã¶ãŒããã300ã«ãŒãã«ããå§ãŸããŸãã
Yaware.TimeTracker
yaware.ruä»äºã®åçã ã€ã³ã¹ããŒã«ããããšãŒãžã§ã³ãã¯ã皌åæéã䜿çšãããããã°ã©ã ãããã³ãµã€ãã«é¢ããããŒã¿ãåéããŸãã ããã°ã©ã ãŸãã¯ãµã€ãããšã«ããã®çç£æ§ãèšå®ãããŸãïŒãçç£çãããäžç«ãããéçç£çãïŒã ãããã®ããŒã¿ã«åºã¥ããŠãåŸæ¥å¡ã®çç£æ§ãšåŽåæéã®å¹çã«é¢ããã¬ããŒããäœæãããŸãã ãã®ããã°ã©ã ã«ã¯ããŠã§ãã«ã¡ã©ã®éåžžã®ã¹ã¯ãªãŒã³ã·ã§ãããšã¹ãããã·ã§ãããæ®ãæ©èœããããŸãã
æè»ãªã¹ã±ãžã¥ãŒã«ã 皌åæ¥ã®éå§æå»ãšçµäºæå»ãããã³1æ¥ãã«ãŠã³ããããããã«èª¿æŽããå¿ èŠãããæå»ãèšå®ã§ããŸãã ãã®ããã°ã©ã ã¯ã2ã€ã®ã°ã©ããªãã·ã§ã³ããµããŒãããŠããŸãã ãæšæºé±ã-åºå®çšŒåæ¥ã ã亀æ¿å€åã-åŸæ¥å¡ã®å€åæ¥ãææ¥ã«é¢é£ããŠããªãå ŽåãåŸæ¥å¡ã®ã¹ã±ãžã¥ãŒã«ãæ§æã§ããŸãã
äŒæäŒæã®ããã®ã¢ããªã±ãŒã·ã§ã³ã ã¬ããŒãã«ãŒãã ã¢ããªã±ãŒã·ã§ã³ã¯ãããŸããããããŒãžã£ãŒèªèº«ãã€ãã³ãïŒäŒæãç æ¬ ïŒã眮ããç¹å®ã®äººãšéšéã®äž¡æ¹ãæå®ã§ããŸãã çµçéšéãžã®ã¬ããŒãã®ããã«ãããã°ã©ã ã¯ã¬ããŒããæäŸããŸãïŒãã¿ã€ã ã·ãŒããããåºåžã¬ããŒããã
APIã®å¯çšæ§ã HTTPãªã¯ãšã¹ãã䜿çšããŠãåéãããçµ±èšãžã®ã¢ã¯ã»ã¹ãç¬ç«ããŠå®è£ ã§ããAPIããããŸãã
ã¬ããŒãã ãã®ããã°ã©ã ã«ã¯ãäœæ¥æéãšå¹çã®äž¡æ¹ã«é¢ããå€ãã®ã¬ããŒãããããŸãã äžéšã®ã¬ããŒãã«ã¯åæ§ã®æ å ±ã衚瀺ãããŸãã ç¹å®ã®æéã®ã¬ããŒãã衚瀺ããããšãã§ããŸãã ã¬ããŒãã®ããŒã¿ã¯ãXLSãCSVãPDFã«ãšã¯ã¹ããŒãã§ããŸãã
OSããã³DBã ããŒã«ã«ãµãŒããŒãåäœããŠããOSãšããŒã¿ããŒã¹ãå€å¥ããããšã¯ã§ããŸããã§ããã
è¡å§ãšã®çµ±åã ãã
èšå® ã¯ã©ãŠãããŒãžã§ã³ã®å Žåã¯ãã¯ã©ã€ã¢ã³ããã€ã³ã¹ããŒã«ããã ãã§ãã ããŒã«ã«ããŒãžã§ã³ã®æ§æã«é¢ããæ å ±ãååŸã§ããŸããã§ããã
ãã«ããŠãŒã¶ãŒãã«ãã³ã³ãã¥ãŒã¿ãŒã¢ãŒãã Yawareã¯ããã°ã€ã³ãšã³ã³ãã¥ãŒã¿ãŒåã«ãã£ãŠãŠãŒã¶ãŒãèå¥ããŸãã ãã°ã€ã³ãå€æŽããããå¥ã®ãã·ã³ã«è»¢éããããããšãæ°ãããŠãŒã¶ãŒãšããŠèªèãããŸãã ãŠãŒã¶ãŒãçµã¿åãããããšãã§ããŸãã
ã€ã³ã¿ãŒããããããã¯ãŒã¯ãä»ããŠäœæ¥ããŸãã ãšãŒãžã§ã³ããšãµãŒããŒã¯ãhttpããã³httpsãããã³ã«ãä»ããŠæ¥ç¶ãããŸãã SSLã¯ä¿è·ã«äœ¿çšãããŸãã ããŒã«ã«ããŒãžã§ã³ã§ã¯ãSSL蚌ææžãéžæã§ããŸãã SSL蚌ææžã¯ããµãŒããŒãžã®ãšãŒãžã§ã³ãã®æ¥ç¶ãšWebããã«ãžã®æ¥ç¶ã®äž¡æ¹ãä¿è·ããŸãã
çµ±èšãžã®ã¢ã¯ã»ã¹ã åŸæ¥å¡ã«åœŒã®çµ±èšãžã®ã¢ã¯ã»ã¹ãæäŸããããšãå¯èœã§ãã ãšãŒãžã§ã³ããã¹ãã«ã¹ã¢ãŒãã§ãªãå Žåã¯ããšãŒãžã§ã³ãããç°¡åãªçµ±èšã確èªã§ããŸãã ãã詳现ãªçµ±èšãWebã€ã³ã¿ãŒãã§ãŒã¹ã«è¡šç€ºãããŸãã éšéãããŒãžã£ãŒãä»»åœããããšãå¯èœã§ãã
ã·ã¹ãã ããã€ãã¹ããŸãã ã¹ã¯ãªããã¯æ©èœããã¢ã¯ãã£ããã£ãã«ãŠã³ãããã䜿çšãããŠããã¢ããªã±ãŒã·ã§ã³ã«ã¯ã¹ã¯ãªããã¯è¡šç€ºãããŸããã
ãªãã¶ãŒããã«ã«ã€ããŠã ããã©ã«ãã§ã¯ããšãŒãžã§ã³ãã¯ãã¬ã€ã«è¡šç€ºãããŸãããµãŒããŒã«ã¯ããšãŒãžã§ã³ããé衚瀺ã«ã§ãããªãã·ã§ã³ããããŸãã ãã®å ŽåããšãŒãžã§ã³ãã®ååšã¯ãYaService.exeããã³YaUpdate.exeããã»ã¹ãšYaware.TimeTracker Collector Serviceã®ã¿ã¹ã¯ãããŒãžã£ãŒã§ç¢ºèªã§ããŸãã
äŸ¡æ Œ ã¯ã©ãŠãããŒãžã§ã³ïŒåŸæ¥å¡1人ãããæé¡450ã«ãŒãã«ã ããŒã«ã«ããŒãžã§ã³ïŒ50ãžã§ãã®å Žåã¯4800ãã«ãè¿œå ã®è·å Žã®å Žåã¯96ãã«ã
ã¯ãã³ã¿ã€ã
crocotime.comä»äºã®åçã ãšãŒãžã§ã³ãã¯ãã³ã³ãã¥ãŒã¿ãŒã䜿çšãããã¢ããªã±ãŒã·ã§ã³ãããã³ãµã€ãã§ã®æéã«é¢ããããŒã¿ãåéããŸãã ã°ã©ãã£ã«ã«ã€ã³ã¿ãŒãã§ã€ã¹ã®ãªãããã°ã©ã ã¯èæ ®ãããŸããã ã¢ããªã±ãŒã·ã§ã³ã¯ãå¹æçãšéå¹ççã«åããããšãã§ããŸãã å®æçãªã¹ã¯ãªãŒã³ã·ã§ãããæå¹ã«ããããšãã§ããŸãã
æè»ãªã¹ã±ãžã¥ãŒã«ã ã¹ã±ãžã¥ãŒã«ã§ã¯ãå°±æ¥æ¥ã®éå§æå»ãšçµäºæå»ã®äž¡æ¹ããŸãã¯åã«1æ¥ãããã®æéæ°ãæå®ã§ããŸãã æŒäŒã¿ã¯å³ããèšå®ãããŠããŸãã
äŒæäŒæã®ããã®ã¢ããªã±ãŒã·ã§ã³ã ã¬ããŒãã«ãŒãã ã¢ããªã±ãŒã·ã§ã³ã¯ãããŸããã ãããŒãžã£ãŒã¯ãåºåŒµãç æ°äŒæãäŒæãäŒæãæ¬ å€ãªã©ã®äžåšã®çç±ã確ç«ã§ããŸãã ããã©ã«ãã§ã¯ãããã°ã©ã ããªãå Žåããäžåšãã眮ããŸãã ã¢ã«ãŠã³ãã£ã³ã°ã«ã€ããŠã¯ãã¬ããŒããã¬ããŒããããããããã¯ã©ã®æ¥ãæ©èœãäœæéã ã£ããã瀺ããŸãã
APIã®å¯çšæ§ã HTTPèŠæ±ã䜿çšããŠãµãŒããŒãšå¯Ÿè©±ã§ããããã«ããWeb APIããããŸãã
ã¬ããŒãã ã¬ããŒãã¯ãäŒç€ŸãšåŸæ¥å¡ã®äž¡æ¹ã®çç£æ§ããã®æ¥ã®æ§é ã䜿çšãããããã°ã©ã ãã¿ã¹ã¯ã®çš®é¡ããããžã§ã¯ããåŽåæéããã®éžè±ã«é¢ããæ å ±ãæäŸããŸãã ã¬ããŒãã§ã¯ãåŸæ¥å¡ïŒéšéïŒããã³æéïŒæ¥ãé±ãæïŒã«ãããã£ã«ã¿ãªã³ã°ãå¯èœã§ãã
OSããã³DBã ãµãŒããŒã¯Windowsäžã§å®è¡ãããŸãã ããã©ã«ãã§ã¯ãSQLiteã䜿çšãããŸãããPostgreSQLã«åãæ¿ããããšã¯å¯èœã§ãã éæ¹åãžã®ç§»è¡ã¯ã§ããŸããã
è¡å§ãšã®çµ±åã ADãããŠãŒã¶ãŒãèªã¿èŸŒãããšãã§ããŸãã ããã«ããã管çè ã¯ãã·ã¹ãã å ã®åŸæ¥å¡ããŒã¿ïŒååãé»åã¡ãŒã«ãªã©ïŒããã³éšéã®æ§é ãæåã§æäœããå¿ èŠããªããªããŸãã ãŸãããŠãŒã¶ãŒãKerberosèªèšŒã䜿çšããŠãã¡ã€ã³ãã¹ã¯ãŒãç£èŠã·ã¹ãã ã«ãã°ã€ã³ã§ããããã«ããŸãã æ§é å šäœãã¢ã³ããŒãããããšã¯ã§ããŸããããäžéšã®ã¿ãã¢ã³ããŒãã§ããŸãã
èšå® ã»ããã¢ããã«ã¯ããµãŒããŒãšãšãŒãžã§ã³ããã€ã³ã¹ããŒã«ããã ãã§ååã§ãã
ãã«ããŠãŒã¶ãŒãã«ãã³ã³ãã¥ãŒã¿ãŒã¢ãŒãã èå¥ã¯ããã°ã€ã³ãšã³ã³ãã¥ãŒã¿ãŒåã«ãã£ãŠè¡ãããŸããCrocotimeã§ã¯ã1ã€ã®ãŠãŒã¶ãŒãããã¡ã€ã«ïŒ1ã€ã®ã©ã€ã»ã³ã¹ïŒãç°ãªãã¢ã«ãŠã³ãïŒã³ã³ãã¥ãŒã¿ãŒãŸãã¯ãã¡ã€ã³ïŒã«å¯Ÿå¿ã§ããŸãããããã¡ã€ã«å ã«è€æ°ã®ã¬ã³ãŒããããå Žåããããã®çµ±èšãèŠçŽãããŸãã
ã€ã³ã¿ãŒããããããã¯ãŒã¯ãä»ããŠäœæ¥ããŸãããµãŒããŒãå ¬éããã«ã¯ãããŒã8085ãéãå¿ èŠããããŸããæ¥ç¶ãä¿è·ããã«ã¯ãSSLã䜿çšããŠããã©ãŠã¶ãŒããã¢ã¯ã»ã¹ã§ãã管çããã«ã«èšŒææžãè¿œå ããŸãã
çµ±èšãžã®ã¢ã¯ã»ã¹ããŠãŒã¶ãŒã«èªå·±ç£èŠã®çµ±èšãžã®ã¢ã¯ã»ã¹ãæäŸããããšãã§ããŸããçµ±èšã¯ãWebã€ã³ã¿ãŒãã§ãŒã¹ããå ¥æã§ããŸããä»ã®åŸæ¥å¡ïŒéšéïŒã®çµ±èšãžã®ã¢ã¯ã»ã¹ãæäŸã§ããŸãã
ã·ã¹ãã ããã€ãã¹ããŸãã . AutoIt . Arduino, .
.
agent_service64.exe CrocoTime Agent. C:\Program Files\CrocoTime Agent.
äŸ¡æ Œ : 150 . : .
TimeCamp
www.timecamp.com. , . . , .
. , / . . , .
. . , (, , âŠ) . «», .
API. API, HTTP . , (, Visual Studio).
ã¬ããŒãã . , , . , .
. , .
. ãã
. .
. . timecamp.com.
. SSL. , NAT .
. -. : , , .
. AutoIt. TimeCamp .
. . timecamp.exe reshost.exe. C:\Users\UserName\AppData\Local\TimeCamp.
äŸ¡æ Œ : 10$ . .
. . . , . , , , , .
, , .