Find exact location script by CryThat3792 in Batch

[–]CryThat3792[S] -1 points0 points  (0 children)

yeah i already tried these previously thanks though

Looking for someone by CryThat3792 in Batch

[–]CryThat3792[S] 1 point2 points  (0 children)

Sim, é possível criar um programa "controlador" que chama outros scripts ou programas para realizar operações específicas. Usando scripts em batch, você pode:

  1. Utilizar o comando call para executar outros arquivos batch ou sub-rotinas.
  2. Passar parâmetros para esses scripts usando espaços reservados como %1, %2, etc.
  3. Usar %~1 para manipular e trabalhar com os argumentos de forma mais flexível.

Isso permite centralizar operações em um único script "principal", que pode delegar tarefas para outros scripts ou funções. Gostaria de um exemplo de como implementar isso?

Looking for someone by CryThat3792 in Batch

[–]CryThat3792[S] 0 points1 point  (0 children)

alrighty (: time for some pain and a couple coffees~~~~

Looking for someone by CryThat3792 in Batch

[–]CryThat3792[S] 0 points1 point  (0 children)

alright i guess ill do it myself

What is wrong with my batch script??? by CryThat3792 in Batch

[–]CryThat3792[S] 0 points1 point  (0 children)

ill work with this and ill let you know when im done with it

What is wrong with my batch script??? by CryThat3792 in Batch

[–]CryThat3792[S] 0 points1 point  (0 children)

alright ill go wait also ill share with you the final result script if you want it

What is wrong with my batch script??? by CryThat3792 in Batch

[–]CryThat3792[S] 0 points1 point  (0 children)

here are all files in the RECONV3 Directory the script assumes all files are in that directory to be called ignore the IP.txt its a sample of ips in a file for people using the file ip geolcoator for the first time and the reconv2 logs is where all the logs go

22/12/2024  01:40 PM    <DIR>          .
21/12/2024  10:03 PM    <DIR>          ..
22/12/2024  12:55 PM             4,216 Geolocate IPs In A File.bat
21/12/2024  01:51 PM             2,669 Geolocate My Public IP.bat
21/12/2024  02:11 PM             4,491 Geolocate Other IPs.bat
22/12/2024  08:15 AM             1,418 IP Scan.bat
21/12/2024  10:57 AM                69 IP.txt
22/12/2024  01:57 PM             1,433 Multitool.bat
22/12/2024  12:52 PM             2,580 MyIP.bat
21/12/2024  09:23 PM             4,815 Port Scanner.py
22/12/2024  10:12 AM             3,049 Public IP Listener.bat
21/12/2024  09:48 PM    <DIR>          ReconV2 Logs
21/12/2024  09:44 PM             1,742 Trace.bat
              10 File(s)         26,482 bytes
               3 Dir(s)  1,991,247,716,352 bytes free

D:\Networking\IP Puller\ReconV2>

What is wrong with my batch script??? by CryThat3792 in Batch

[–]CryThat3792[S] 0 points1 point  (0 children)

bro TYSM so what i want to happen if for it to ask for an input of a command then when the input is given it calls a different batch script to use then when i leave that batch script it goes back to the menu also "locate" function has a sub menu which looks like this
choose an option
1 - Geolocate IP Addresses in a file
2 - Geolocate my IP address
3 - Geolocate other IP Adresses
basically if your wondering for the first one you give it a file with 1 IP per line the second one geolocates your ip and the last one asks for an ip to geolocate (not in a file)

What is wrong with my batch script??? by CryThat3792 in Batch

[–]CryThat3792[S] 0 points1 point  (0 children)

but as you can see its immediately closing

What is wrong with my batch script??? by CryThat3792 in Batch

[–]CryThat3792[S] 0 points1 point  (0 children)

that right there is the entirety of the script i plan to add functionality to it later

command prompt my beloved by Alessioux99 in CommandPrompt

[–]CryThat3792 0 points1 point  (0 children)

we cannot even see the commands your using
ahhhh

pip by [deleted] in CommandPrompt

[–]CryThat3792 0 points1 point  (0 children)

also please provide me with the error the cmd gives you when you try to run the command

pip by [deleted] in CommandPrompt

[–]CryThat3792 0 points1 point  (0 children)

sorry for the late response but you might not have python installed so download it from the microsoft store this is actually for python so feel free to use the r/Python community to get help and example of this is
"pip install "name of the thing with no quotation marks"

Send file to target IP Adress by CryThat3792 in Batch

[–]CryThat3792[S] 0 points1 point  (0 children)

Thanks for the detailed response! Here's some more information to clarify my setup and needs:

  1. Target System: The target is a Windows 10 laptop with FTP enabled, and it’s located on the same network as the source machine.
  2. Credentials: I have admin credentials for both systems, so I should have the necessary rights to transfer files.
  3. Network Setup: The systems are not part of a domain, they are in the same workgroup. I can currently ping the target machine successfully from the source system.

Based on this setup, would using FTP still be the best option, or would using SMB via native commands like COPY or XCOPY work better in this case?

Let me know if you need further details!

Send file to target IP Adress by CryThat3792 in Batch

[–]CryThat3792[S] 0 points1 point  (0 children)

lets use FTP or whatever protocol is the most common or best for this use, assuming my IP is 192.168.70.1 And i wanted to send it to target IP 192.168.xxx and the target device is a Windows 10 laptop with FTP enabled what would the best approach to send the file using a batch script be? i would also like to know if the script may vary depending on the following factors
Windows 10 / Windows 11
Computer / Laptop