Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
~9K People Reached
Favorite Tags
Member Avatar for morfious90

I'm Bachaleor Of computer Application (B.C.A) And Gniit 2 years deploma In software engineering Now i want to switch to somthing abstract.Because There is very Rush in Web developement Field. Please tell me what will be best for me Linux red hat certification or switch to "Ethical hacking".I have little …

Member Avatar for mailman_2097
0
995
Member Avatar for coding101
Member Avatar for Maritimo
0
105
Member Avatar for coding101

I Have an NSButton and Im trying to get it to display the barber stripes sideways when the button is pressed. I can't redraw the NSRect, and was wondering if you had any clues on implementation?

0
142
Member Avatar for coding101
Member Avatar for Hiroshe
0
120
Member Avatar for coding101

Is it possible to parse an ethernet frame to extract an ssl server certificate to determine the common name issued to?...Im not too familair with ssl records.

0
131
Member Avatar for coding101

Not hot on sed.. I have the string <Report name="05/14/14 05:05:53 AM - Report"> in a file. I need to change the date and time part to the current date and time.. any sed regex to match the date format and timestamp?

Member Avatar for L7Sqr
0
150
Member Avatar for coding101

I need to create a scenario where all 65535 ports are open. I currently can open 1021 socket desciptors and bind to 1021 ports. If i spawn ~ 70 processes todo the same, i can achieve the goal, but performance is slow. I'm not interested in packet sniffing. How can …

0
71
Member Avatar for coding101

I need help reading my arp replies. When writing requests to the socket, I cant get replies related to what I sent..Ideas #include <stdio.h> #include <ctype.h> #include <stdlib.h> #include <string.h> #include <errno.h> #include <netdb.h> #include <sys/socket.h> #include <arpa/inet.h> #include <linux/if_ether.h> #define ETH_HW_ADDR_LEN 6 #define IP_ADDR_LEN 4 #define ARP_FRAME_TYPE 0x0806 #define …

0
123
Member Avatar for coding101

Need help dhcpdiscovery message...using raw sockets..dont want dhcp headers or libraries..do it myself anyway im getting error on sending my packet..any USEFUL help? #include <stdio.h> #include <stdlib.h> #include <netdb.h> #include <arpa/inet.h> #include <sys/socket.h> #include <netinet/in.h> #include <netinet/ip.h> #include <sys/types.h> #include <string.h> #define DHCP_UDP_OVERHEAD (14 + /* Ethernet header */ \ …

0
109
Member Avatar for coding101

trying to send email from nc nc smtp.gmail.com 587 HELO there 250 mx.google.com at your service STARTTLS 220 2.0.0 Ready to start TLS MAIL FROM:<junk@example.com> connection dies.. whats wrong with the protocol im using??

Member Avatar for JeoSaurus
0
108
Member Avatar for coding101

how do you do unbuffered io in c? I need to write each charachter typed to a socket, not waiting for "\n" newline i.e. enter key any help?

Member Avatar for coding101
0
78
Member Avatar for cacofonix

Hi All, In my script, i am trying to call multiple fork call. if i call less than 10 times, its working fine. If i call more than 20 or 30 times, most of the process getting time out or died foreach my $ttyport (@processTTY) { my $pid = fork();Inline …

Member Avatar for coding101
0
142
Member Avatar for coding101

Im new to threads, and would like to get experience so I am trying to build a chat server. The idea is to have one thread read from the client socket, while another thread writes to the client socket. (like AIM) I cannot get them to execeute concurrently; Need help, …

Member Avatar for james6754
0
191
Member Avatar for coding101

I would like to send a dhcp discovery packet progammatically in C. I know C programming, but not network programming. I understand I need to set the dest. ip "255.255.255.255" and src "0.0.0.0". Then send a DHCPDISCOVERY UDP Packet to get a list of available wireless dhcp servers. How can …

Member Avatar for deceptikon
0
143
Member Avatar for coding101

Im trying to learn perl socket without the OO approach. My get request isnt working, im not sure why. Take a look? #!/usr/bin/perl use IO; use Socket; socket(SOCKFD,AF_INET,SOCK_STREAM,getprotobyname("tcp")) || die "Socket Error\n"; $host = gethostbyname("www.google.com"); $addr = sockaddr_in(80,$host); connect(SOCKFD,$addr) || die "Connect Error\n"; print SOCKFD "GET /"; while(<SOCKFD>){ print $_; …

Member Avatar for Taywin
0
167
Member Avatar for coding101

Im starting kernel programming and need info on the read and writing function to a /proc file. When a program writes to my /proc module, I need to store the contents. When I read the contents of the /proc file, it only return the most recent entry, and not the …

Member Avatar for Ancient Dragon
0
292
Member Avatar for coding101

Im trying to use make to build a driver..I'm new to the makefile protocol and I keep getting this error What does it mean? /lib/modules/3.3.4-5.fc17.x86_64/build: No such file or directory.

Member Avatar for rubberman
0
145
Member Avatar for lewashby

I need to write a script to where the lower half does not execute until the current shell runs an exit or logout command. How can I do this? The script I need this on is below. mount -v --bind /dev $LFS/dev && mount -vt devpts devpts $LFS/dev/pts && mount …

Member Avatar for coding101
0
139
Member Avatar for coding101

i have a udp server thats going to send and mp3 file. when does the client udp know when the udpserver is done sending?

Member Avatar for JamesCherrill
0
107
Member Avatar for coding101

Im getting double free error's from this? Why? 2d array standard implementation. any clues? int **m = malloc(5 * sizeof(int)); int i,j; for(i = 0; i < 5; i++) m[i] = malloc(5 * sizeof(int)); for(i = 0; i< 5; i++) free(m[i]); free(m);

Member Avatar for deceptikon
0
107
Member Avatar for coding101

I need help creating a rule to do the following: Forward my ftp traffic to my virtual machine I have eth0 as the main IP, and virb0 as a bridge to the vm at a private ip. Any idea how to forward ftp traffic to my servers address to the …

Member Avatar for Z28James
0
233
Member Avatar for coding101

What iptables chain would give me drop all request except those from the local subnet so iptables -A INPUT -s 192.168.1.0/24 -j ACCEPT would accept im looking for iptables -A INPUT ! -s 192.168.1.0/24 -j DROP equivalent ?? What Im not looking for is DROP ALL Connections, then Accept localsubnet …

Member Avatar for slacke
0
150
Member Avatar for coding101

im trying to build my own LL, not seeming to work? My insert method is wrong, and cant fiugre it out, any ideas? public class List { private int size; private Node root; private Node current; public List(){ size = 0; } public void insert(int a){ size++; if(root == null){ …

Member Avatar for NormR1
0
98
Member Avatar for coding101
Member Avatar for TrustyTony
0
100
Member Avatar for coding101

im writing a chat server in c and am need help. my server can write to a socket, the client can read from the socket. How do i have the client write to the socket and have the server read from the client socket? server.c [CODE] #include <stdio.h> #include <unistd.h> …

Member Avatar for histrungalot
0
214
Member Avatar for coding101

When my os starts and i log in, the Network Manager displays a list of available networks. How can I code a C program to get a list of avaialble networks. Arp requests? What is the protocol?

Member Avatar for jbennet
0
47
Member Avatar for coding101

Where are the function bodies to functions like socket,bind,accept, etc??... Using the c socket network programming for unix based systems, we use the api, but where are the function bodies to these functions. Im doing network programming, and I fill in the socket functions, bind, accept, write, read, etc, but …

Member Avatar for savoie
0
155
Member Avatar for coding101

I am new to network programming, and trying to read a response from a servers webpage. I can connect, but cannot get the pages source. Heres what I have [CODE] #include <stdio.h> #include <sys/socket.h> #include <arpa/inet.h> #include <netdb.h> int main(int argc,char **args){ if(argc < 2){ printf("2 args\n"); return 1; } …

Member Avatar for savoie
0
120
Member Avatar for coding101

How do strings work? In C we must declare the size of a char array to represent a "string". But in java we do not allocate memory for the size of a string. So how does the string work? Is there a pre deterimed size assigned to strings from the …

Member Avatar for dheaven
0
235
Member Avatar for coding101

How would I hide keystokes when I use the keyboard? When you use scanf fgets and gets, they show they print the keys to the screen.. I want to hide them.

Member Avatar for N1GHTS
0
96