This paper introduces a novel Prompt-based unifying Inference Attack framework on Graph Neural Networks (GNNs), named ProIA.ProIA retains the graph's topological information during pre-training, enhancing the background knowledge of the inference attack model.It utilizes a unified prompt and introduces additional disentanglement factors in downstream attacks to adapt to task-relevant knowledge.Extensive experiments show that ProIA enhances attack capabilities and demonstrates remarkable adaptability to various inference attacks.