User Profile
Collapse
-
I've read that HOWTO. Problem is, is that it only tells you how to set-up a socket. I'm comfortable setting up TCP or UDP sockets I just want to branch out and do others things such as send files or as I mentioned in the first post, tunnel things, like a reverse shell or something interesting like that.... -
Does no-one have any knowledge on Python Socket programming that they could share with me?Leave a comment:
-
Help sending data over a socket
I have some basic knowledge of socket programming in Python. Up to now all I have been able to do when establishing a socket is sending a string to a client, what I would like to know is what else can be sent? For example could a program be tunnelled through from the host to the client - like the way netcat allows programs to be executed after a connection is established?
Here is code that only sends a string:
...Code: -
Python is a good language to both learn and for others to read. It uses a strict syntax system which makes it very easy on the eye. Also its very powerful, it goes way beyond batch scripting. If you can't install any software on your work computer then maybe you should try VBS, its not as nearly as good as Python but its better than batch files and doesn't require any additional software to run.
The official Python tutorial is her...Leave a comment:
-
-
I had a usefull BASH script for editing a config file for a server but the server went down for hardware upgrades and I installed the server on a Windows system as a temporary solution. In that script it relied on the tail command to monitor a log and I couldn't find any tool native to windows that could do it so I got cygwin. With this you can use lots of *nix commands. If this isn't practical you should investigate Python - I think I've seen a...Leave a comment:
-
Generally yes. Especially on 1.0 USB port. But I've managed to play a game from my flash stick on USB 2.0 port and use Firefox too without noticable slugishness. I'd say anything lower than 5mb will not suffer performance issues....Leave a comment:
-
A script typically automates certain tasks like e-mailling many people or transferring many files from one place to another - something that can be done manually with your mouse and keyboard. A program however can be like a game or a web-browser etc.Leave a comment:
-
PCGuide also provide a detailed explanation on Hard Disk Partitioning and Formatting. You can have a look at it The PC Guide: Hard Disk Partitioning and Formatting Procedure.Leave a comment:
-
This sounds like a rogue program. Like a trojan or something. I remember a while back that I had downloaded a dodgy version of ZoneAlarm and the only way I could get rid of it was to use BartPE boot CD. A great video tutorial on how to use BartPE Builder can be found here.Leave a comment:
-
Not that I am advocating such activites but you can install the program onto a flash stick and execute from there.Leave a comment:
-
Thanks, thats helped a lot. I've also found out about a script called sshdfilter. Very useful against SSH dictionary attacks and such too....Leave a comment:
-
Yeah I've been using KDE ever since I converted to Linux. This is the first time I've used Gnome. Personally I prefer KDE as I've never had any trouble working out how to customize its looks.Leave a comment:
-
Nevermind I found a program called alacarte that provides a GUI with all the icons for each menu and sub menu. You can uncheck boxes of the icons you don't want anymore and they're gone.Leave a comment:
-
Help with Gnome/Ubuntu
Hi folks! I have setup an Ubuntu system recently and I have came across a silly problem. I installed a game and its a link to it has appeared in Games part of the Applicaton menu. When I right-click it I don't have the option to remove it (which I want to do).
Does anyone know how to remove these links in the Application menu? I know how to do it in KDE. Also does anyone know how to do this through a Terminal rather than graphically... -
Trouble with dynamic IP
Hello, I am having some trouble with a guy that has a dynamic IP address. I noticed he is trying to brute-force my SSH account so I used IPtables to drop all incoming packets. The exact command was
iptables -I INPUT -s 84.74.xxx.xxx -j DROP
where x is the rest of his IP. This automatically blocked him. No more activity came from his IP, which is exactly what I want. However 5 minutes later he came back this time with... -
I am a bit unclear on something. Why are you using the very basic commands on the thin client? When the file is transferred from the Unix machine to NeoWare why don't you use the server supplied OS (whatever it may be) to change the file and print it?
It doesn't look like your using the thin client right......Leave a comment:
-
The best method I know of is setting the boot loader (mine is Grub) to boot differently. On my machine this is F2 to add in parameters. What you mention is "single" although I haven't tried this. What I done was "init=/bin/bash"
Once you've added this it should boot up in a root terminal, here you can do the "passwd" command here. Simply set the new passwrod and reboot.
Good luck!
...Leave a comment:
-
Yes thats what I think too. Thats how INPUT is no use because as you said no traffic is generated externally and thus no connection is made. Its a little annoying though because it would be incredibly handy to use VMs to verify some iptables, chains and rules. In the future I might use a box outside my network through something like VNC to see if certain commands are working. In the mean time I'm going to read up more about iptables! =)Leave a comment:
-
OK I managed to ban a user succesfully with this command:
iptables -I INPUT -p udp -m udp -s <players_IP> -j REJECT
I'm, still not sure why nothing worked on VMware but my guess is because its in the same LAN and "INPUT" is not the right command to use. I really don't know enough about IPtables.
Anyways problem solved.Leave a comment:
No activity results to display
Show More
Leave a comment: